1
0
Fork 0

Only use Path if it is actually available, refs #5114

pull/5116/head
Jordi Boggiano 2016-03-26 09:49:28 +00:00
parent 2f6b4c439d
commit f542b0f32d
1 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ class EventDispatcher
protected function doDispatch(Event $event)
{
$pathStr = 'PATH';
if (!isset($_SERVER[$pathStr])) {
if (!isset($_SERVER[$pathStr]) && isset($_SERVER['Path'])) {
$pathStr = 'Path';
}