\r
\r
//=========================================================================\r
-// 5. TROUBLESHOOTING (most people can just ignore this setting)\r
+// 5. DATA FILES PERMISSIONS\r
+//=========================================================================\r
+// The following parameter sets the permissions of new directories\r
+// created by Moodle within the data directory. The format is in \r
+// octal format (as used by the Unix utility chmod, for example).\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
+\r
+$CFG->directorypermissions = 0777;\r
+\r
+\r
+\r
+//=========================================================================\r
+// 6. ADMIN LOCATION (most people can just ignore this setting)\r
+//=========================================================================\r
+// A very few webhosts use /admin as a special URL for you to access a \r
+// control panel or something. Unfortunately this conflicts with the \r
+// standard location for the Moodle admin pages. You can fix this by \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
+\r
+\r
+//=========================================================================\r
+// 7. TROUBLESHOOTING (most people can just ignore this setting)\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
\r
\r
//=========================================================================\r
-// 6. ALL DONE! To continue your setup, visit your Moodle web page.\r
+// ALL DONE! To continue your setup, visit your Moodle web page.\r
//=========================================================================\r
\r
-\r
require_once("$CFG->dirroot/lib/setup.php"); // Do not change this\r
\r
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES, \r