diff options
-rw-r--r-- | index.php | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -46,11 +46,8 @@ define('THEMEPATH', strtr(realpath('themes') . '/', DIRECTORY_SEPARATOR, '/')); define('SYSPATH', strtr(realpath('kohana') . '/', DIRECTORY_SEPARATOR, '/')); if (!file_exists('var')) { - include DOCROOT . "installer/helpers/installer.php"; - if (!installer::environment_check()) { - installer::display_requirements(); - die; - } + // Run the installer + header("Location: installer/install.php"); } // Force a test run if we're in command line mode. |