Skip to content
Snippets Groups Projects
Commit 390813b5 authored by joe's avatar joe Committed by agata
Browse files

Adding port to the server definition for the local read-only global dataset

parent 14665d95
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ function noblogs_load_global_dataset($master_file, $ip_file) {
} else {
$globaldb['read'] = 0;
$wpdb->add_database($globaldb);
$globaldb['host'] = $ldata;
$globaldb['host'] = $ldata . ":" . $mdata["port"];
$globaldb['read'] = 1;
$globaldb['write'] = 0;
$wpdb->add_database($globaldb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment