mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Start a PHP session in installer.
This fixes blank username and password on home/successfullyinstalled
This commit is contained in:
parent
7483970f68
commit
b8228271e6
@ -21,6 +21,11 @@ ini_set('max_execution_time', 0);
|
|||||||
|
|
||||||
error_reporting(E_ALL | E_STRICT);
|
error_reporting(E_ALL | E_STRICT);
|
||||||
|
|
||||||
|
// Attempt to start a session so that the username and password can be sent back to the user.
|
||||||
|
if (function_exists('session_start')) {
|
||||||
|
session_start();
|
||||||
|
}
|
||||||
|
|
||||||
// Include environment files
|
// Include environment files
|
||||||
$usingEnv = false;
|
$usingEnv = false;
|
||||||
$envFileExists = false;
|
$envFileExists = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user