Merged from MOODLE_15_STABLE - If wwwroot is unset, log something before dying

This commit is contained in:
martinlanghoff
2005-10-18 03:31:13 +00:00
parent ceea4a57f0
commit a670108e0f
+1
View File
@@ -75,6 +75,7 @@ global $HTTPSPAGEREQUIRED;
if (!isset($CFG->wwwroot)) {
trigger_error('Fatal: $CFG->wwwroot is not configured! Exiting.');
die;
}