mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-14679 fixed addslashes
This commit is contained in:
parent
7e0489f4e1
commit
fad5293439
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user