blueness 14/11/10 13:21:17 Added: config-r1.php Log: Version bump to 2.8 branch (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Revision Changes Path 1.1 www-apps/moodle/files/config-r1.php file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/moodle/files/config-r1.php?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/moodle/files/config-r1.php?rev=1.1&content-type=text/plain Index: config-r1.php =================================================================== <?php unset($CFG); // Ignore this line global $CFG; // This is necessary here for PHPUnit execution $CFG = new stdClass(); $CFG->dbtype = 'mydb'; // 'pgsql', 'mariadb', 'mysqli', 'mssql', 'sqlsrv' or 'oci' $CFG->dblibrary = 'native'; // 'native' only at the moment $CFG->dbhost = 'localhost'; // eg 'localhost' or 'db.isp.com' or IP $CFG->dbname = 'moodle'; // database name, eg moodle $CFG->dbuser = 'username'; // your database username $CFG->dbpass = 'password'; // your database password $CFG->prefix = 'mdl_'; // prefix to use for all table names $CFG->dboptions = array( 'dbpersist' => false, // should persistent database connections be // used? set to 'false' for the most stable // setting, 'true' can improve performance // sometimes 'dbsocket' => false, // should connection via UNIX socket be used? // if you set it to 'true' or custom path // here set dbhost to 'localhost', // (please note mysql is always using socket // if dbhost is 'localhost' - if you need // local port connection use '127.0.0.1') 'dbport' => '', // the TCP port number to use when connecting // to the server. keep empty string for the // default port ); $CFG->wwwroot = 'http://example.com/moodle'; $CFG->dataroot = '/home/example/moodledata'; $CFG->directorypermissions = 02777; $CFG->admin = 'admin'; require_once(dirname(__FILE__) . '/lib/setup.php'); // Do not edit ?>
