aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/install.php')
-rw-r--r--engine/lib/install.php3
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'));
}
}