Go to the source code of this file.
Namespaces |
| namespace | core |
Enumerations |
| enum | NO_OUTPUT_BUFFERING |
Variables |
| | $id = optional_param('id', '', PARAM_TEXT) |
| | $confirmupgrade = optional_param('confirmupgrade', 0, PARAM_BOOL) |
| | $confirmrelease = optional_param('confirmrelease', 0, PARAM_BOOL) |
| | $confirmplugins = optional_param('confirmplugincheck', 0, PARAM_BOOL) |
| | $showallplugins = optional_param('showallplugins', 0, PARAM_BOOL) |
| | $agreelicense = optional_param('agreelicense', 0, PARAM_BOOL) |
| | $documentationlink = '<a href="http://docs.moodle.org/en/Installation">Installation docs</a>' |
if(ini_get_bool('session.auto_start'))
if(ini_get_bool('magic_quotes_runtime'))
if(!ini_get_bool('file_uploads'))
if(is_float_problem()) if(!isset($CFG->
release)) if(!isset($CFG->
version)) | $version = null |
| | $release = null |
| $CFG | target_release = $release |
| if(!$version or!$release) if(!isset($maturity)) | $origxmlstrictheaders = !empty($CFG->xmlstrictheaders) |
| $CFG | xmlstrictheaders = false |
| if(!core_tables_exist()) | $stradministration = get_string('administration') |
| | $context = get_context_instance(CONTEXT_SYSTEM) |
| | $site = get_site() |
if(empty($site->shortname)) if(!empty($id)
and $id==$CFG->siteidentifier) | $insecuredataroot = is_dataroot_insecure(true) |
| $SESSION | admin_critical_warning = ($insecuredataroot==INSECURE_DATAROOT_ERROR) |
| | $adminroot = admin_get_root() |
| if(any_new_admin_settings($adminroot)) | $errorsdisplayed = defined('WARN_DISPLAY_ERRORS_ENABLED') |
| | $lastcron = $DB->get_field_sql('SELECT MAX(lastcron) FROM {modules}') |
| | $cronoverdue = ($lastcron < time() - 3600 * 24) |
| | $dbproblems = $DB->diagnose() |
| | $maintenancemode = !empty($CFG->maintenance_enabled) |
| | $output = $PAGE->get_renderer('core', 'admin') |
Enumeration Type Documentation
Variable Documentation
| $cronoverdue = ($lastcron < time() - 3600 * 24) |
| $dbproblems = $DB->diagnose() |
| $documentationlink = '<a href="http://docs.moodle.org/en/Installation">Installation docs</a>' |
This class pertains to course requests and contains methods associated with create, approving, and removing course requests.
Please note we do not allow embedded images here because there is no context to store them with proper access control.
- Copyright:
- 2009 Sam Hemelryk http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Since:
- Moodle 2.0
Definition at line 59 of file index.php.
| $maintenancemode = !empty($CFG->maintenance_enabled) |
| $output = $PAGE->get_renderer('core', 'admin') |