From 298a6f9096d9855ff1c5a4cbbdafe08abbdc8e66 Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 5 Jun 2008 15:17:33 +0000 Subject: git-svn-id: https://code.elgg.org/elgg/trunk@807 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/start.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engine') diff --git a/engine/start.php b/engine/start.php index 8b0e7dd14..5312d5093 100644 --- a/engine/start.php +++ b/engine/start.php @@ -26,13 +26,11 @@ } if (!@include_once(dirname(__FILE__) . "/lib/system_log.php")) { // Logging library - echo "Error in installation: could not load the System Log library."; - exit; + throw new InstallationException("Error in installation: could not load the System Log library."); } if (!@include_once(dirname(__FILE__) . "/lib/export.php")) { // Export library - echo "Error in installation: could not load the Export library."; - exit; + throw new InstallationException("Error in installation: could not load the Export library."); } /** -- cgit v1.2.3