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.

This commit is contained in:
Bharat Mediratta
2009-01-14 05:07:52 +00:00
parent 4dbb14a0a8
commit 2a7d4b4365
-5
View File
@@ -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');