aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-02-13 13:25:54 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-02-13 13:25:54 +0000
commit21f38736432bd365127ab52310ee29c758e0d036 (patch)
treedc24c3adacec38ee7f99168e2b76a3fcf5e1e060
parent7a3c2087c5059ea57f3dac59eaa4a0b820e45cf6 (diff)
downloadelgg-21f38736432bd365127ab52310ee29c758e0d036.tar.gz
elgg-21f38736432bd365127ab52310ee29c758e0d036.tar.bz2
Loading exceptions
git-svn-id: https://code.elgg.org/elgg/trunk@17 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/start.php7
1 files changed, 6 insertions, 1 deletions
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.";