ENHANCEMENT #3126: Put site into dev mode for installation so you can see error messages.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.3@66890 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sminnee 2008-11-28 01:16:55 +00:00 committed by Sam Minnee
parent 38daa8be70
commit 0cea0274d3

View File

@ -736,7 +736,11 @@ PHP
$_SERVER['SCRIPT_FILENAME'] = dirname(realpath($_SERVER['SCRIPT_FILENAME'])) . '/sapphire/main.php'; $_SERVER['SCRIPT_FILENAME'] = dirname(realpath($_SERVER['SCRIPT_FILENAME'])) . '/sapphire/main.php';
chdir('sapphire'); chdir('sapphire');
// Rebuild the manifest
$_GET['flush'] = true; $_GET['flush'] = true;
// Show errors as if you're in development mode
$_SESSION['isDev'] = 1;
require_once('core/Core.php'); require_once('core/Core.php');
$this->statusMessage("Building database schema..."); $this->statusMessage("Building database schema...");