From: Evan Prodromou Date: Fri, 20 Feb 2009 21:46:26 +0000 (-0500) Subject: accidentally used as a global in index.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=424388611a347eeecd35be3a22984826dd2a503e;p=quix0rs-gnu-social.git accidentally used as a global in index.php --- diff --git a/index.php b/index.php index a8890e9a3b..914ba5bde1 100644 --- a/index.php +++ b/index.php @@ -116,8 +116,8 @@ function main() // XXX: find somewhere for this little block to live - if ($config['db']['mirror'] && $action_obj->isReadOnly()) { - if (is_array($config['db']['mirror'])) { + if (common_config('db', 'mirror') && $action_obj->isReadOnly()) { + if (is_array(common_config('db', 'mirror'))) { // "load balancing", ha ha $k = array_rand($config['db']['mirror']);