From 0cea0274d3a57da6894ee48e0da276eaa047f936 Mon Sep 17 00:00:00 2001 From: sminnee Date: Fri, 28 Nov 2008 01:16:55 +0000 Subject: [PATCH] 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 --- install.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.php b/install.php index a8794c9..2fbfcfa 100644 --- a/install.php +++ b/install.php @@ -736,7 +736,11 @@ PHP $_SERVER['SCRIPT_FILENAME'] = dirname(realpath($_SERVER['SCRIPT_FILENAME'])) . '/sapphire/main.php'; chdir('sapphire'); + // Rebuild the manifest $_GET['flush'] = true; + // Show errors as if you're in development mode + $_SESSION['isDev'] = 1; + require_once('core/Core.php'); $this->statusMessage("Building database schema...");