|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | core |
Enumerations | |
| enum | CLI_SCRIPT |
| enum | MOODLE_INTERNAL |
Variables | |
| if(isset($_SERVER['REMOTE_ADDR'])) | $help |
| $distrolibfile = dirname(dirname(dirname(__FILE__))).'/install/distrolib.php' | |
| $distro = null | |
| if(file_exists($distrolibfile)) | $configfile = dirname(dirname(dirname(__FILE__))).'/config.php' |
| if(file_exists($configfile)) | $olddir = getcwd() |
| if(version_compare(phpversion(),"5.3.2")< 0) | $CFG = new stdClass() |
| $CFG | lang = 'en' |
| $CFG | dirroot = dirname(dirname(dirname(__FILE__))) |
| $CFG | libdir = "$CFG->dirroot/lib" |
| $CFG | wwwroot = "http://localhost" |
| $CFG | httpswwwroot = $CFG->wwwroot |
| $CFG | docroot = 'http://docs.moodle.org' |
| $CFG | running_installer = true |
| $CFG | early_install_lang = true |
| $parts = explode('/', str_replace('\\', '/', dirname(dirname(__FILE__)))) | |
| $CFG | admin = array_pop($parts) |
| $CFG | target_release = $release |
| $databases | |
| $interactive = empty($options['non-interactive']) | |
| $lang = clean_param($options['lang'], PARAM_SAFEDIR) | |
| if(file_exists($CFG->dirroot.'/install/lang/'.$lang)) if($unrecognized) | if ($options['help']) |
| $wwwroot = clean_param($options['wwwroot'], PARAM_URL) | |
| $CFG | dataroot = $options['dataroot'] |
| $CFG | cachedir = $CFG->dataroot.'/cache' |
| $CFG | langotherroot = $CFG->dataroot.'/lang' |
| $CFG | langlocalroot = $CFG->dataroot.'/lang' |
| if(($fh=fopen($configfile, 'w'))!==false) if(!file_exists($configfile)) | $installlang = $CFG->lang |
| enum CLI_SCRIPT |
Definition at line 32 of file install.php.
| enum MOODLE_INTERNAL |
Used by library scripts to check they are being called by Moodle
Definition at line 128 of file install.php.
| if (version_compare(phpversion(),"5.3.2")< 0) $CFG = new stdClass() |
Definition at line 140 of file install.php.
| if (file_exists($distrolibfile)) $configfile = dirname(dirname(dirname(__FILE__))).'/config.php' |
Definition at line 92 of file install.php.
| $databases |
array('mysqli' => moodle_database::get_driver_instance('mysqli', 'native'), 'pgsql' => moodle_database::get_driver_instance('pgsql', 'native'), 'oci' => moodle_database::get_driver_instance('oci', 'native'), 'sqlsrv' => moodle_database::get_driver_instance('sqlsrv', 'native'), 'mssql' => moodle_database::get_driver_instance('mssql', 'native'), )
Definition at line 172 of file install.php.
| $distro = null |
Definition at line 83 of file install.php.
| $distrolibfile = dirname(dirname(dirname(__FILE__))).'/install/distrolib.php' |
Definition at line 82 of file install.php.
Definition at line 39 of file install.php.
Definition at line 653 of file install.php.
| $interactive = empty($options['non-interactive']) |
Definition at line 218 of file install.php.
| $lang = clean_param($options['lang'], PARAM_SAFEDIR) |
Definition at line 221 of file install.php.
| if (file_exists($configfile)) $olddir = getcwd() |
Definition at line 110 of file install.php.
| $parts = explode('/', str_replace('\\', '/', dirname(dirname(__FILE__)))) |
Definition at line 150 of file install.php.
| $wwwroot = clean_param($options['wwwroot'], PARAM_URL) |
Definition at line 304 of file install.php.
| $CFG admin = array_pop($parts) |
Definition at line 151 of file install.php.
| $CFG cachedir = $CFG->dataroot.'/cache' |
Definition at line 389 of file install.php.
Definition at line 340 of file install.php.
| $CFG dirroot = dirname(dirname(dirname(__FILE__))) |
Definition at line 142 of file install.php.
| $CFG docroot = 'http://docs.moodle.org' |
Definition at line 146 of file install.php.
| if ($CFG->lang!== 'en') $CFG early_install_lang = true |
Definition at line 148 of file install.php.
| $CFG httpswwwroot = $CFG->wwwroot |
Definition at line 145 of file install.php.
| if(!$envstatus) |
Definition at line 231 of file install.php.
| $SESSION lang = 'en' |
Definition at line 141 of file install.php.
| $CFG langlocalroot = $CFG->dataroot.'/lang' |
Definition at line 408 of file install.php.
| $CFG langotherroot = $CFG->dataroot.'/lang' |
Definition at line 407 of file install.php.
Definition at line 143 of file install.php.
| $CFG running_installer = true |
Definition at line 147 of file install.php.
| $CFG target_release = $release |
Definition at line 169 of file install.php.
| $CFG wwwroot = "http://localhost" |
Definition at line 144 of file install.php.