From dee58b972751924ee0170abebeed4c76be413d30 Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 25 Nov 2001 15:53:28 +0000 Subject: [PATCH] Added a copy of this in the doc directory, just in case --- doc/config.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 doc/config.php diff --git a/doc/config.php b/doc/config.php new file mode 100644 index 00000000000..792570e714f --- /dev/null +++ b/doc/config.php @@ -0,0 +1,48 @@ +dbtype = "mysql"; // eg mysql, postgres, oracle, access etc +$CFG->dbhost = "localhost"; // eg localhost +$CFG->dbname = "moodle"; // eg moodle +$CFG->dbuser = "username"; +$CFG->dbpass = "password"; + + +// Next you need to tell Moodle where it is, and where it can save files. + +$CFG->wwwroot = "http://example.com/moodle"; +$CFG->dirroot = "/web/moodle"; +$CFG->dataroot = "/home/moodledata"; // Web-server writeable + + +// Choose a theme from the "themes" folder. Default theme is "standard". + +$CFG->theme = "standard"; + + +// Give the full name (eg mail.example.com) of an SMTP server that the +// web server machine has access to (to send mail). Default: "localhost". + +$CFG->smtphost = "mail.example.com"; + + +// You should not need to change anything below this line +/////////////////////////////////////////////////////////////////////////// + +$CFG->libdir = "$CFG->dirroot/lib"; + +require("$CFG->libdir/setup.php"); // Sets up all libraries, sessions etc + +?>