From e1c54733c388ef0f75d6288c7add7d381e583ac5 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 10 Oct 2010 12:40:02 +0000 Subject: handling the database being down/busy or an incomplete install. Also cleaned up failsafe views git-svn-id: http://code.elgg.org/elgg/trunk@7044 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/install.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engine/lib/install.php') diff --git a/engine/lib/install.php b/engine/lib/install.php index 9deec9e26..f36b528da 100644 --- a/engine/lib/install.php +++ b/engine/lib/install.php @@ -53,7 +53,6 @@ function verify_installation() { $installed = is_installed(); } catch (DatabaseException $e) {} if (!$installed) { - header("Location: install.php"); - exit; + throw new InstallationException(elgg_echo('InstallationException:SiteNotInstalled')); } } -- cgit v1.2.3