summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-15 23:07:49 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-15 23:07:49 +0000
commitf294eab92a4e44c0ad8790b7875173a1340f4b5c (patch)
tree077e43fcceb6f7d4254b45e203be087cbb9ace3d /index.php
parent4b0cf99e56f965e10eeb8b8b19e7b405bda49eaf (diff)
is_readonly() -> isReadOnly()
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 3cecb5c8b..387b642e2 100644
--- a/index.php
+++ b/index.php
@@ -55,7 +55,7 @@ if (file_exists($actionfile)) {
$action_obj = new $action_class();
- if ($config['db']['mirror'] && $action_obj->is_readonly()) {
+ if ($config['db']['mirror'] && $action_obj->isReadOnly()) {
if (is_array($config['db']['mirror'])) {
// "load balancing", ha ha
$k = array_rand($config['db']['mirror']);