-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
36 lines (29 loc) · 935 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php /// Moodle Configuration File
unset($CFG);
//Website info
$CFG = new stdClass();
$CFG->sitename = '';
$CFG->siteemail = '';
$CFG->streetaddress = '';
$CFG->logo = 'logo.png';
//Database connection variables
$CFG->dbtype = 'mysqli'; //mysql or mysqli
$CFG->dbhost = 'localhost';
$CFG->dbname = 'jollygiraffes';
$CFG->dbuser = 'root';
$CFG->dbpass = '';
//Directory variables
$CFG->directory = '';
$CFG->wwwroot = 'http://'.$_SERVER['SERVER_NAME'];
$CFG->wwwroot = $CFG->directory ? $CFG->wwwroot.'/'.$CFG->directory : $CFG->wwwroot;
$CFG->docroot = dirname(__FILE__);
$CFG->dirroot = $CFG->docroot;
//Userfile path
$CFG->userfilespath = substr($CFG->docroot,0,strrpos($CFG->docroot,'/'));
//Cookie variables in seconds
$CFG->timezone = 'America/Indiana/Indianapolis';
$CFG->servertz = 'America/Indiana/Indianapolis';
date_default_timezone_set('UTC');
//Google Analytics id
$CFG->analytics = '';
?>