From 02af2d8b7639fdc18fba3d69a4ca0a3f5c92b948 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 14 Jan 2009 03:38:51 +0000 Subject: The installer. At this point, the core installs, the user module defines groups and users, but dies when attempting to create default permissions --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') 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. -- cgit v1.2.3