}
$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<BR> ".$err->toString());
}
// reset dont die!