Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai
noblogs-wp
Commits
d52cc3a0
Commit
d52cc3a0
authored
May 03, 2013
by
joe
Committed by
agata
Jul 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding port to the server definition for the local read-only global dataset
parent
a5d9024b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
r2db/db-backends.php
r2db/db-backends.php
+1
-1
No files found.
r2db/db-backends.php
View file @
d52cc3a0
...
@@ -57,7 +57,7 @@ function noblogs_load_global_dataset($master_file, $ip_file) {
...
@@ -57,7 +57,7 @@ function noblogs_load_global_dataset($master_file, $ip_file) {
}
else
{
}
else
{
$globaldb
[
'read'
]
=
0
;
$globaldb
[
'read'
]
=
0
;
$wpdb
->
add_database
(
$globaldb
);
$wpdb
->
add_database
(
$globaldb
);
$globaldb
[
'host'
]
=
$ldata
;
$globaldb
[
'host'
]
=
$ldata
.
":"
.
$mdata
[
"port"
]
;
$globaldb
[
'read'
]
=
1
;
$globaldb
[
'read'
]
=
1
;
$globaldb
[
'write'
]
=
0
;
$globaldb
[
'write'
]
=
0
;
$wpdb
->
add_database
(
$globaldb
);
$wpdb
->
add_database
(
$globaldb
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment