dbtype = $dbtype; $CFG->dbhost = 'localhost'; $CFG->dbname = $dbname; $CFG->dbuser = $dbuser; $CFG->dbpass = $dbpass; $CFG->prefix = 'mdl_'; $CFG->wwwroot = 'http://moodle'; $CFG->dirroot = '/usr/share/moodle'; $CFG->dataroot = '/var/lib/moodle'; $CFG->directorypermissions = 0750; $CFG->admin = 'admin'; $CFG->pathtodu = '/usr/bin/du'; $CFG->unzip = '/usr/bin/unzip'; $CFG->zip = '/usr/bin/zip'; $CFG->respectsessionsettings = true; # For improved security, make sure html purifier is used. $CFG->enablehtmlpurifier = true; $CFG->disableupdatenotifications = true; if (file_exists("$CFG->dirroot/lib/setup.php")) { // Do not edit include_once("$CFG->dirroot/lib/setup.php"); } else { if ($CFG->dirroot == dirname(__FILE__)) { echo "
Could not find this file: $CFG->dirroot/lib/setup.php
"; echo "Are you sure all your files have been uploaded?
"; } else { echo "Error detected in config.php
"; echo "Error in: \$CFG->dirroot = '$CFG->dirroot';
"; echo "Try this: \$CFG->dirroot = '".dirname(__FILE__)."';
"; } die; } // MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES, // RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE. ?>