mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
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:
parent
38daa8be70
commit
0cea0274d3
@ -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...");
|
||||||
|
Loading…
Reference in New Issue
Block a user