aboutsummaryrefslogtreecommitdiff
path: root/engine/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/start.php')
-rw-r--r--engine/start.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/engine/start.php b/engine/start.php
index a0ca5d718..fd61dbd6a 100644
--- a/engine/start.php
+++ b/engine/start.php
@@ -96,5 +96,10 @@
// Trigger events
trigger_event('init', 'system');
+
+ // Forward if we haven't been installed
+ if ((!is_installed() || !is_db_installed()) && !substr_count($_SERVER["PHP_SELF"],"install.php")) {
+ forward("install.php");
+ }
?> \ No newline at end of file