X-Git-Url: http://git.roojs.org/?p=pear;a=blobdiff_plain;f=HTML%2FFlexyFramework.php;fp=HTML%2FFlexyFramework.php;h=3d16bca2cb1970c53e426e54d47e851eff0f09f0;hp=94475d586afcbf30617f122eb0f8854901f630b3;hb=26318d510ece4dbd76c86b6bcae2a21ae29eee49;hpb=48840b1c38abbc72e88230d38d9ede560d1e2bd6 diff --git a/HTML/FlexyFramework.php b/HTML/FlexyFramework.php index 94475d58..3d16bca2 100755 --- a/HTML/FlexyFramework.php +++ b/HTML/FlexyFramework.php @@ -904,7 +904,7 @@ RewriteRule ^(.+)$ /web.hpasite/index.local.php [L,NC,E=URL:$1] } $res = $err->query("SELECT @@global.read_only as ro"); $row = $res->fetchRow(DB_FETCHMODE_ASSOC); - if (!empty($row['ro'])) { + if (!empty($row['ro']) && empty($options['skip-read-only-check'])) { $this->fatalError("Database is configured to be read-only - please check database
".$err->toString()); } // reset dont die!