aboutsummaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php
index 3be2b3c78..35d4febd6 100644
--- a/install.php
+++ b/install.php
@@ -20,8 +20,8 @@
/**
* If we're installed, go back to the homepage
*/
- if (is_installed())
- forward();
+ if (is_installed() && is_db_installed())
+ forward("index.php");
/**
* Install the database