Skip to content

Commit

Permalink
Add slashes when printing correct Windows path to problems with backs…
Browse files Browse the repository at this point in the history
…lashes
  • Loading branch information
moodler committed Jan 18, 2003
1 parent a9630e4 commit 8f94fbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/index.php
Expand Up @@ -37,6 +37,7 @@

$dirroot = dirname(realpath("../config.php"));
if ($dirroot != $CFG->dirroot) {
$dirroot = addslashes($dirroot);
error("Please fix your settings in config.php:
<P>You have:
<P>\$CFG->dirroot = \"$CFG->dirroot\";
Expand Down

0 comments on commit 8f94fbc

Please sign in to comment.