If wwwroot is unset, log something before dying

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