mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user