Skip to content

Commit

Permalink
MDL-14679 fixed addslashes
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed May 31, 2008
1 parent 7e0489f commit fad5293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/index.php
Expand Up @@ -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
Expand Down

0 comments on commit fad5293

Please sign in to comment.