Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 696b978

Browse files
Morgan Auchedefabpot
Morgan Auchede
authored andcommitted
[HttpKernel] added an analyze of environment parameters for built-in server.
1 parent 56a7517 commit 696b978

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
return false;
2626
}
2727

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

3031
require 'app_dev.php';

src/Symfony/Bundle/FrameworkBundle/Resources/config/router_prod.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
return false;
2626
}
2727

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

3031
require 'app.php';

0 commit comments

Comments
 (0)