MDL-14679 fixed addslashes

This commit is contained in:
skodak 2008-05-31 15:46:55 +00:00
parent 7e0489f4e1
commit fad5293439

View File

@ -72,7 +72,7 @@
$dirroot = dirname(realpath("../index.php"));
if (!empty($dirroot) and $dirroot != $CFG->dirroot) {
print_error('fixsetting', 'debug', '', array(addslashes($CFG->dirroot), addslashes($dirroot)));
print_error('fixsetting', 'debug', '', array($CFG->dirroot, $dirroot));
}
/// Set some necessary variables during set-up to avoid PHP warnings later on this page