Permalink
Browse files

Fixes bug #2147 http://moodle.org/bugs/bug.php?op=show&bugid=2147

The config.php generated by install.php was missing $CFG->admin -- credit goes to serge.laot@wanadoo.fr for the report and patch.
  • Loading branch information...
1 parent 2da759e commit 2c09cb2e124b08b7a74e278d191075b234fbdcfa martinlanghoff committed Dec 13, 2004
Showing with 1 addition and 0 deletions.
  1. +1 −0 install.php
View
@@ -293,6 +293,7 @@
$str .= '$CFG->wwwroot = \''.$INSTALL['wwwroot']."';\r\n";
$str .= '$CFG->dirroot = \''.$INSTALL['dirroot']."';\r\n";
$str .= '$CFG->dataroot = \''.$INSTALL['dataroot']."';\r\n";
+ $str .= '$CFG->admin = \''.$INSTALL['admindirname']."';\r\n";
$str .= "\r\n";
$str .= '$CFG->directorypermissions = 0777;'."\r\n";

0 comments on commit 2c09cb2

Please sign in to comment.