Permalink
Browse files

BUGFIX: Start a PHP session in installer.

This fixes blank username and password on home/successfullyinstalled
  • Loading branch information...
1 parent 7483970 commit b8228271e6ac3b9144be50d9ffeb2851a716290a @oddnoc oddnoc committed Apr 26, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 dev/install/install.php5
View
5 dev/install/install.php5
@@ -21,6 +21,11 @@ ini_set('max_execution_time', 0);
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
$usingEnv = false;
$envFileExists = false;

0 comments on commit b822827

Please sign in to comment.