summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index e9a0a41b..f25df28e 100644
--- a/index.php
+++ b/index.php
@@ -45,9 +45,9 @@ define('MODPATH', strtr(realpath('modules') . '/', DIRECTORY_SEPARATOR, '/'));
define('THEMEPATH', strtr(realpath('themes') . '/', DIRECTORY_SEPARATOR, '/'));
define('SYSPATH', strtr(realpath('kohana') . '/', DIRECTORY_SEPARATOR, '/'));
-if (!file_exists('var')) {
+if (!file_exists('var/installed')) {
// Run the installer
- header("Location: installer/install.php");
+ header("Location: installer/index.php");
}
// Force a test run if we're in command line mode.