Merged from MOODLE_15_STABLE - If wwwroot is unset, log something before dying
This commit is contained in:
@@ -75,6 +75,7 @@ global $HTTPSPAGEREQUIRED;
|
||||
|
||||
|
||||
if (!isset($CFG->wwwroot)) {
|
||||
trigger_error('Fatal: $CFG->wwwroot is not configured! Exiting.');
|
||||
die;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user