projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a33194e
)
lost config in index.php made all traffic go to master
author
Evan Prodromou
<evan@status.net>
Thu, 28 Jan 2010 21:52:42 +0000
(16:52 -0500)
committer
Evan Prodromou
<evan@status.net>
Thu, 28 Jan 2010 21:52:42 +0000
(16:52 -0500)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index 5aa40440aafbf2f880fc10309d886f366917ea13..605b380bf89412a8cebb3c53988f4c6d5b079d3a 100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-165,6
+165,8
@@
function setupRW()
function checkMirror($action_obj, $args)
{
+ global $config;
+
if (common_config('db', 'mirror') && $action_obj->isReadOnly($args)) {
if (is_array(common_config('db', 'mirror'))) {
// "load balancing", ha ha