projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9630e4
)
Add slashes when printing correct Windows path to problems with backslashes
author
moodler
<moodler>
Sat, 18 Jan 2003 14:05:52 +0000
(14:05 +0000)
committer
moodler
<moodler>
Sat, 18 Jan 2003 14:05:52 +0000
(14:05 +0000)
admin/index.php
patch
|
blob
|
history
diff --git
a/admin/index.php
b/admin/index.php
index c84a261f4a20e0d4fd87e6edb8512afabab3c2c8..df13826f602baf12b0c4a79a979262a301ecf8ee 100644
(file)
--- a/
admin/index.php
+++ b/
admin/index.php
@@
-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\";