From 21f38736432bd365127ab52310ee29c758e0d036 Mon Sep 17 00:00:00 2001 From: icewing Date: Wed, 13 Feb 2008 13:25:54 +0000 Subject: Loading exceptions git-svn-id: https://code.elgg.org/elgg/trunk@17 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/start.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/start.php b/engine/start.php index f46c72c15..1b1b3d6a5 100644 --- a/engine/start.php +++ b/engine/start.php @@ -14,7 +14,12 @@ /** * Load important prerequisites - */ + */ + + if (!@include_once(dirname(__FILE__) . "/lib/exceptions.php")) { // Exceptions + echo "Error in installation: could not load the Exceptions library."; + exit; + } if (!@include_once(dirname(__FILE__) . "/lib/elgglib.php")) { // Main Elgg library echo "Error in installation: could not load the main Elgg library."; -- cgit v1.2.3