Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Variables
config.php File Reference

classic config. More...

Variables

global $CFG
 
 $CFG = new stdClass()
 
 $host = 'localhost'
 
 $port = getenv('MOODLE_DOCKER_WEB_PORT')
 
$CFG admin = 'admin'
 
$CFG allowthemechangeonurl = 1
 
$CFG behat_dataroot = '/var/www/behatdata'
 
$CFG behat_faildump_path = '/var/www/behatfaildumps'
 
$CFG behat_prefix = 'b_'
 
$CFG behat_profiles
 
$CFG behat_wwwroot = 'http://webserver'
 
$CFG cronclionly = 0
 
if(!empty($port)) $CFG dataroot = '/var/www/moodledata'
 
$CFG dbhost = 'db'
 
$CFG dblibrary = 'native'
 
$CFG dbname = getenv('MOODLE_DOCKER_DBNAME')
 
$CFG dboptions = ['dbcollation' => getenv('MOODLE_DOCKER_DBCOLLATION')]
 
$CFG dbpass = getenv('MOODLE_DOCKER_DBPASS')
 
$CFG dbtype = getenv('MOODLE_DOCKER_DBTYPE')
 
$CFG dbuser = getenv('MOODLE_DOCKER_DBUSER')
 
$CFG debug = (E_ALL | E_STRICT)
 
$CFG debugdisplay = 1
 
$CFG debugpageinfo = 1
 
$CFG debugstringids = 1
 
$CFG directorypermissions = 0777
 
$THEME editor_sheets = []
 
$THEME enable_dock = false
 
$THEME extrascsscallback = 'theme_classic_get_extra_scss'
 
$THEME iconsystem = '\\theme_classic\\output\\icon_system_fontawesome'
 
if(getenv('MOODLE_DOCKER_APP')) if (getenv( 'MOODLE_DOCKER_PHPUNIT_EXTRAS'))
 
$THEME layouts
 
$THEME name = 'classic'
 
$THEME parents = ['boost']
 
$CFG passwordpolicy = 0
 
$CFG pathtophp = '/usr/local/bin/php'
 
$CFG perfdebug = 15
 
$CFG phpunit_dataroot = '/var/www/phpunitdata'
 
const PHPUNIT_LONGTEST true
 
$CFG phpunit_prefix = 't_'
 
$THEME precompiledcsscallback = 'theme_classic_get_precompiled_css'
 
$CFG prefix = 'm_'
 
$THEME prescsscallback = 'theme_classic_get_pre_scss'
 
$THEME rendererfactory = 'theme_overridden_renderer_factory'
 
$THEME scss
 
$THEME sheets = []
 
$CFG smtphosts = 'mailhog:1025'
 
const TEST_EXTERNAL_FILES_HTTP_URL 'http://exttests'
 
$THEME usefallback = true
 
if(!empty(getenv('MOODLE_DOCKER_WEB_HOST'))) $CFG wwwroot = "http://{$host}"
 
$THEME yuicssmodules = array()
 

Detailed Description

classic config.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Variable Documentation

◆ behat_profiles

$CFG behat_profiles
Initial value:
= array(
'default' => array(
'browser' => getenv('MOODLE_DOCKER_BROWSER'),
'wd_host' => 'http://selenium:4444/wd/hub',
),
)