From 076b22929281e7aea9d545139abe9eece04847e1 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 19 Nov 2002 14:35:07 +0000 Subject: [PATCH] Changed it to DOS format to help Windows users --- config-dist.php | 172 ++++++++++++++++++++++++------------------------ 1 file changed, 86 insertions(+), 86 deletions(-) diff --git a/config-dist.php b/config-dist.php index 002aa8a38e..6f069e8d37 100644 --- a/config-dist.php +++ b/config-dist.php @@ -1,86 +1,86 @@ -dbtype = "mysql"; // eg mysql (postgres7, oracle, access etc) -$CFG->dbhost = "localhost"; // eg localhost -$CFG->dbname = "moodle"; // eg moodle -$CFG->dbuser = "username"; -$CFG->dbpass = "password"; - - -/////////////////////////////////////////////////////////////////////////// -// Now you need to tell Moodle where it is located. Specify the full -// web address where moodle has been installed (without trailing slash) - -$CFG->wwwroot = "http://example.com/moodle"; - - -/////////////////////////////////////////////////////////////////////////// -// Next, specify the full OS directory path to this same location -// For Windows this might be something like "C:\apache\htdocs\moodle" - -$CFG->dirroot = "/web/moodle"; - - -/////////////////////////////////////////////////////////////////////////// -// Now you need a place where Moodle can save uploaded files. This -// directory should be writeable by the web server user (usually 'nobody' -// or 'apache'), but it should not be accessible directly via the web. - -$CFG->dataroot = "/home/moodledata"; - - -/////////////////////////////////////////////////////////////////////////// -// A very small percentage of servers have a bug which causes HTTP_REFERER -// not to work. The symptoms of this are that you fill out the configure -// form during Moodle setup but when hit save you find yourself on the -// same form, unable to progress. If this happens to you, come back here -// and set the following to true. Otherwise this should always be false. - -$CFG->buggy_referer = false; - - -/////////////////////////////////////////////////////////////////////////// -// To continue the setup, use your web browser to go to your Moodle page // -/////////////////////////////////////////////////////////////////////////// - -$CFG->libdir = "$CFG->dirroot/lib"; // Do not change this -require("$CFG->libdir/setup.php"); // Do not change this - -?> +dbtype = "mysql"; // eg mysql (postgres7, oracle, access etc) +$CFG->dbhost = "localhost"; // eg localhost +$CFG->dbname = "moodle"; // eg moodle +$CFG->dbuser = "username"; +$CFG->dbpass = "password"; + + +/////////////////////////////////////////////////////////////////////////// +// Now you need to tell Moodle where it is located. Specify the full +// web address where moodle has been installed (without trailing slash) + +$CFG->wwwroot = "http://example.com/moodle"; + + +/////////////////////////////////////////////////////////////////////////// +// Next, specify the full OS directory path to this same location +// For Windows this might be something like "C:\apache\htdocs\moodle" + +$CFG->dirroot = "/web/moodle"; + + +/////////////////////////////////////////////////////////////////////////// +// Now you need a place where Moodle can save uploaded files. This +// directory should be writeable by the web server user (usually 'nobody' +// or 'apache'), but it should not be accessible directly via the web. + +$CFG->dataroot = "/home/moodledata"; + + +/////////////////////////////////////////////////////////////////////////// +// A very small percentage of servers have a bug which causes HTTP_REFERER +// not to work. The symptoms of this are that you fill out the configure +// form during Moodle setup but when hit save you find yourself on the +// same form, unable to progress. If this happens to you, come back here +// and set the following to true. Otherwise this should always be false. + +$CFG->buggy_referer = false; + + +/////////////////////////////////////////////////////////////////////////// +// To continue the setup, use your web browser to go to your Moodle page // +/////////////////////////////////////////////////////////////////////////// + +$CFG->libdir = "$CFG->dirroot/lib"; // Do not change this +require("$CFG->libdir/setup.php"); // Do not change this + +?> -- 2.39.5