Permalink
Browse files

Add slashes when printing correct Windows path to problems with backs…

…lashes
  • Loading branch information...
moodler
moodler committed Jan 18, 2003
1 parent a9630e4 commit 8f94fbcd4abb8807d74d4806be9c2aa8a921f641
Showing with 1 addition and 0 deletions.
  1. +1 −0 admin/index.php
View
@@ -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\";

0 comments on commit 8f94fbc

Please sign in to comment.