]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14679 fixed addslashes
authorskodak <skodak>
Sat, 31 May 2008 15:46:55 +0000 (15:46 +0000)
committerskodak <skodak>
Sat, 31 May 2008 15:46:55 +0000 (15:46 +0000)
admin/index.php

index 9b88944c8d22d05b2681d4fe3184cdc1d99c2742..6b3e2ff4db5e294eba7a4fbc85f45886a3f29acd 100644 (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