Commit 51b1a016 authored by Penny Leach's avatar Penny Leach
Browse files

moved xmldb settings into init.php rather than config.

parent 0dd27c90
......@@ -78,8 +78,4 @@ $cfg->log_environ_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;
// but probably only warnings are useful on a live site.
$cfg->log_backtrace_levels = LOG_LEVEL_WARN | LOG_LEVEL_ENVIRON;
// xmldb stuff
$CFG->xmldbdisablenextprevchecking = true;
$CFG->xmldbdisablecommentchecking = true;
?>
......@@ -65,6 +65,10 @@ if (!isset($CFG->wwwroot)) {
$CFG->wwwroot = $proto . $host . '/' . $path;
}
// xmldb stuff
$CFG->xmldbdisablenextprevchecking = true;
$CFG->xmldbdisablecommentchecking = true;
// core libraries
require('mahara.php');
ensure_sanity();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment