Skip to content

Commit

Permalink
[HttpKernel] added an analyze of environment parameters for built-in …
Browse files Browse the repository at this point in the history
…server.
  • Loading branch information
Morgan Auchede authored and fabpot committed Aug 8, 2014
1 parent 56a7517 commit 696b978
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -25,6 +25,7 @@
return false;
}

$_SERVER = array_merge($_SERVER, $_ENV);
$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'app_dev.php';

require 'app_dev.php';
Expand Up @@ -25,6 +25,7 @@
return false;
}

$_SERVER = array_merge($_SERVER, $_ENV);
$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'app.php';

require 'app.php';

0 comments on commit 696b978

Please sign in to comment.