summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-14 05:07:52 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-14 05:07:52 +0000
commit2a7d4b43653d8d340bae185c48dde4de4f8741be (patch)
treec6f208b897dc992eacc0b280ee7bfee650a5c3d2
parent4dbb14a0a89c8bcaee4485af70910f913bc20422 (diff)
Remove the redirect to the installer; if we don't have a var dir this results in an infinite redirect. Let's put this back in when the installer works.
-rw-r--r--index.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/index.php b/index.php
index f25df28e..9f17fc93 100644
--- a/index.php
+++ b/index.php
@@ -45,11 +45,6 @@ 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/installed')) {
- // Run the installer
- header("Location: installer/index.php");
-}
-
// Force a test run if we're in command line mode.
if (PHP_SAPI == 'cli') {
array_splice($_SERVER['argv'], 1, 0, 'gallery_unit_test');