diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-20 16:46:26 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-20 16:46:26 -0500 |
commit | 424388611a347eeecd35be3a22984826dd2a503e (patch) | |
tree | 8b9df9a17a91728bc380702fbf6c14cd07d18e9f | |
parent | 5c59c0d90c806636fc07ee9f2445407ad277de59 (diff) |
accidentally used as a global in index.php
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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']); |