// postgres7 - the prefix is REQUIRED, regardless of whether the //\r
// database already contains tables. //\r
\r
-$CFG->dbtype = "mysql"; // mysql or postgres7 (for now)\r
-$CFG->dbhost = "localhost"; // eg localhost or db.isp.com \r
-$CFG->dbname = "moodle"; // database name, eg moodle\r
-$CFG->dbuser = "username"; // your database username\r
-$CFG->dbpass = "password"; // your database password\r
+$CFG->dbtype = 'mysql'; // mysql or postgres7 (for now)\r
+$CFG->dbhost = 'localhost'; // eg localhost or db.isp.com \r
+$CFG->dbname = 'moodle'; // database name, eg moodle\r
+$CFG->dbuser = 'username'; // your database username\r
+$CFG->dbpass = 'password'; // your database password\r
\r
$CFG->dbpersist = true; // Use persistent database connection? \r
// (should be 'true' for 99% of sites)\r
\r
-$CFG->prefix = "mdl_"; // Prefix to use for all table names\r
+$CFG->prefix = 'mdl_'; // Prefix to use for all table names\r
\r
\r
//=========================================================================\r
// is accessible via multiple URLs then choose the most natural one \r
// that your students would use. Do not include a trailing slash.\r
\r
-$CFG->wwwroot = "http://example.com/moodle";\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 this:\r
//\r
-// $CFG->dirroot = "C:\Program Files\Easyphp\www\moodle"\r
+// $CFG->dirroot = 'C:\Program Files\Easyphp\www\moodle';\r
//\r
// NOTE: Make sure all the upper/lower case is EXACTLY the same as it is \r
// on your computer otherwise you may experience some problems (bug in PHP)\r
\r
-$CFG->dirroot = "/web/moodle";\r
+$CFG->dirroot = '/web/moodle';\r
\r
\r
//=========================================================================\r
// - On hosting systems you might need to make sure that your "group" has\r
// no permissions at all, but that "others" have full permissions.\r
//\r
-// - On Windows systems you might specify something like "C:\moodledata"\r
+// - On Windows systems you might specify something like 'C:\moodledata'\r
\r
-$CFG->dataroot = "/home/moodledata";\r
+$CFG->dataroot = '/home/moodledata';\r
\r
\r
//=========================================================================\r
// The default is usually OK, but you may want to change it to 0750 \r
// if you are concerned about world-access to the files (you will need\r
// to make sure the web server process (eg Apache) can access the files.\r
+// NOTE: the prefixed 0 is important, and don't use quotes.\r
\r
$CFG->directorypermissions = 0777;\r
\r
// renaming the admin directory in your installation, and putting that \r
// new name here. eg "moodleadmin". This will fix admin links in Moodle.\r
\r
-$CFG->admin = "admin";\r
+$CFG->admin = 'admin';\r
\r
\r
//=========================================================================\r