From aa140aabfd0d056762b9fe1bdb0283f77f5613d3 Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 25 May 2003 12:11:10 +0000 Subject: [PATCH] Going back to old method, as the new one seems to have problems on some platforms. --- config-dist.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/config-dist.php b/config-dist.php index bb2a221ecf..84fdf6f884 100644 --- a/config-dist.php +++ b/config-dist.php @@ -121,15 +121,10 @@ $CFG->admin = 'admin'; //========================================================================= -// ALL DONE! To continue your setup, visit your Moodle web page. +// ALL DONE! To continue your setup, visit your Moodle page with a browser //========================================================================= -if (! @include_once("$CFG->dirroot/lib/setup.php")) { // Do not change this - echo "

Error detected in config.php

"; - echo "

Error in: \$CFG->dirroot = '$CFG->dirroot';

"; - echo "

Try this: \$CFG->dirroot = '".dirname(__FILE__)."';"; - die; -} +require_once("$CFG->dirroot/lib/setup.php"); // Do not change this // MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES, // RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE. -- 2.39.5