We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 63a0e84a authored by Evan Prodromou's avatar Evan Prodromou

lost config in index.php made all traffic go to master

parent a33194ef
...@@ -165,6 +165,8 @@ function setupRW() ...@@ -165,6 +165,8 @@ function setupRW()
function checkMirror($action_obj, $args) function checkMirror($action_obj, $args)
{ {
global $config;
if (common_config('db', 'mirror') && $action_obj->isReadOnly($args)) { if (common_config('db', 'mirror') && $action_obj->isReadOnly($args)) {
if (is_array(common_config('db', 'mirror'))) { if (is_array(common_config('db', 'mirror'))) {
// "load balancing", ha ha // "load balancing", ha ha
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