Only use Path if it is actually available, refs #5114
parent
2f6b4c439d
commit
f542b0f32d
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue