From 2c09cb2e124b08b7a74e278d191075b234fbdcfa Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Mon, 13 Dec 2004 07:36:37 +0000 Subject: [PATCH] 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. --- install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install.php b/install.php index 51d73f03ae7..027ad2a70c9 100644 --- a/install.php +++ b/install.php @@ -293,6 +293,7 @@ if ($nextstage == 5) { $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";