Commit 0ca7c4db authored by Penny Leach's avatar Penny Leach

added another sanity check (magic_quotes_runtime)

parent 64f23b7b
......@@ -58,6 +58,13 @@ function ensure_sanity() {
}
}
if (ini_get_bool('magic_quotes_runtime')) {
// try turn it off, if we can't, complain bitterly
if (!ini_set('magic_quotes_runtime',0)) {
log_environ(get_string('magicquotesruntime','error'));
}
}
// dataroot inside document root.
if (strpos(get_config('dataroot'),get_config('docroot')) !== false) {
trigger_error(get_string('datarootinsidedocroot','error'));
......
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