aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/install.php b/install.php
index 25d121972..924ce8ffa 100644
--- a/install.php
+++ b/install.php
@@ -180,9 +180,8 @@ if (@file_exists($config_file))
// Is phpBB already installed? Yes? Redirect to the index
if (defined("PHPWG_INSTALLED"))
-{
- header( 'Location: index.php' );
- exit;
+{
+ die( 'PhpWebGallery is already installed' );
}
include(PHPWG_ROOT_PATH . 'include/constants.php');