diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-10 12:40:02 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-10 12:40:02 +0000 |
commit | e1c54733c388ef0f75d6288c7add7d381e583ac5 (patch) | |
tree | de0161810fe6458ceca78f9849aa95193c21e94c /engine/lib/install.php | |
parent | 60973c259b643f92f96fadf2effc1f37dd930898 (diff) | |
download | elgg-e1c54733c388ef0f75d6288c7add7d381e583ac5.tar.gz elgg-e1c54733c388ef0f75d6288c7add7d381e583ac5.tar.bz2 |
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
Diffstat (limited to 'engine/lib/install.php')
-rw-r--r-- | engine/lib/install.php | 3 |
1 files changed, 1 insertions, 2 deletions
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')); } } |