]> git.mjollnir.org Git - moodle.git/commitdiff
Changed it to DOS format to help Windows users
authormoodler <moodler>
Tue, 19 Nov 2002 14:35:07 +0000 (14:35 +0000)
committermoodler <moodler>
Tue, 19 Nov 2002 14:35:07 +0000 (14:35 +0000)
config-dist.php

index 002aa8a38e34a266df619dc4ed1a058423961f7e..6f069e8d371ea869d68c28c847e74cb562c37df3 100644 (file)
@@ -1,86 +1,86 @@
-<?PHP // $Id$
-///////////////////////////////////////////////////////////////////////////
-//                                                                       //
-// Moodle configuration file                                             //
-//                                                                       //
-// This file should be renamed "config.php" in the top-level directory   //
-//                                                                       //
-///////////////////////////////////////////////////////////////////////////
-//                                                                       //
-// NOTICE OF COPYRIGHT                                                   //
-//                                                                       //
-// Moodle - Modular Object-Oriented Dynamic Learning Environment         //
-//          http://moodle.com                                            //
-//                                                                       //
-// Copyright (C) 2001-2002  Martin Dougiamas  http://dougiamas.com       //
-//                                                                       //
-// This program is free software; you can redistribute it and/or modify  //
-// it under the terms of the GNU General Public License as published by  //
-// the Free Software Foundation; either version 2 of the License, or     //
-// (at your option) any later version.                                   //
-//                                                                       //
-// This program is distributed in the hope that it will be useful,       //
-// but WITHOUT ANY WARRANTY; without even the implied warranty of        //
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
-// GNU General Public License for more details:                          //
-//                                                                       //
-//          http://www.gnu.org/copyleft/gpl.html                         //
-//                                                                       //
-///////////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////////
-// First, you need to configure the database where all Moodle data       //
-// will be stored.  This database must already have been created         //
-// and a username/password created to access it.  If you specify mysql   //
-// then Moodle can set up all your tables for you.  If you try to use    //
-// a different database you will need to set up all your tables by hand  //
-// which could be a big job.    See doc/install.html                     //
-
-$CFG->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
-
-?>
+<?PHP // $Id$\r
+///////////////////////////////////////////////////////////////////////////\r
+//                                                                       //\r
+// Moodle configuration file                                             //\r
+//                                                                       //\r
+// This file should be renamed "config.php" in the top-level directory   //\r
+//                                                                       //\r
+///////////////////////////////////////////////////////////////////////////\r
+//                                                                       //\r
+// NOTICE OF COPYRIGHT                                                   //\r
+//                                                                       //\r
+// Moodle - Modular Object-Oriented Dynamic Learning Environment         //\r
+//          http://moodle.com                                            //\r
+//                                                                       //\r
+// Copyright (C) 2001-2002  Martin Dougiamas  http://dougiamas.com       //\r
+//                                                                       //\r
+// This program is free software; you can redistribute it and/or modify  //\r
+// it under the terms of the GNU General Public License as published by  //\r
+// the Free Software Foundation; either version 2 of the License, or     //\r
+// (at your option) any later version.                                   //\r
+//                                                                       //\r
+// This program is distributed in the hope that it will be useful,       //\r
+// but WITHOUT ANY WARRANTY; without even the implied warranty of        //\r
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //\r
+// GNU General Public License for more details:                          //\r
+//                                                                       //\r
+//          http://www.gnu.org/copyleft/gpl.html                         //\r
+//                                                                       //\r
+///////////////////////////////////////////////////////////////////////////\r
+\r
+\r
+///////////////////////////////////////////////////////////////////////////\r
+// First, you need to configure the database where all Moodle data       //\r
+// will be stored.  This database must already have been created         //\r
+// and a username/password created to access it.  If you specify mysql   //\r
+// then Moodle can set up all your tables for you.  If you try to use    //\r
+// a different database you will need to set up all your tables by hand  //\r
+// which could be a big job.    See doc/install.html                     //\r
+\r
+$CFG->dbtype    = "mysql";     // eg mysql (postgres7, oracle, access etc)\r
+$CFG->dbhost    = "localhost"; // eg localhost \r
+$CFG->dbname    = "moodle";    // eg moodle\r
+$CFG->dbuser    = "username";\r
+$CFG->dbpass    = "password";\r
+\r
+\r
+///////////////////////////////////////////////////////////////////////////\r
+// Now you need to tell Moodle where it is located. Specify the full\r
+// web address where moodle has been installed (without trailing slash)\r
+\r
+$CFG->wwwroot   = "http://example.com/moodle";\r
+\r
+\r
+///////////////////////////////////////////////////////////////////////////\r
+// Next, specify the full OS directory path to this same location\r
+// For Windows this might be something like "C:\apache\htdocs\moodle"\r
+\r
+$CFG->dirroot   = "/web/moodle";\r
+\r
+\r
+///////////////////////////////////////////////////////////////////////////\r
+// Now you need a place where Moodle can save uploaded files.  This\r
+// directory should be writeable by the web server user (usually 'nobody'\r
+// or 'apache'), but it should not be accessible directly via the web.\r
+\r
+$CFG->dataroot  = "/home/moodledata";\r
+\r
+\r
+///////////////////////////////////////////////////////////////////////////\r
+// A very small percentage of servers have a bug which causes HTTP_REFERER\r
+// not to work.  The symptoms of this are that you fill out the configure\r
+// form during Moodle setup but when hit save you find yourself on the \r
+// same form, unable to progress.  If this happens to you, come back here\r
+// and set the following to true.  Otherwise this should always be false.\r
+\r
+$CFG->buggy_referer = false;\r
+\r
+\r
+///////////////////////////////////////////////////////////////////////////\r
+// To continue the setup, use your web browser to go to your Moodle page //\r
+///////////////////////////////////////////////////////////////////////////\r
+\r
+$CFG->libdir    = "$CFG->dirroot/lib";   // Do not change this\r
+require("$CFG->libdir/setup.php");       // Do not change this\r
+\r
+?>\r