From a670108e0fd89758dbbe3dc777f2e2fb3b684caf Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Tue, 18 Oct 2005 03:31:13 +0000 Subject: [PATCH] Merged from MOODLE_15_STABLE - If wwwroot is unset, log something before dying --- lib/setup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/setup.php b/lib/setup.php index 263364472ef..d5161f2fc76 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -75,6 +75,7 @@ global $HTTPSPAGEREQUIRED; if (!isset($CFG->wwwroot)) { + trigger_error('Fatal: $CFG->wwwroot is not configured! Exiting.'); die; }