Commit 7c85ff9a authored by joe's avatar joe Committed by lechuck

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

parent 7137c873
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment