avoid pass by reference error on 5.4

This commit is contained in:
Ceeram 2012-09-24 18:26:25 +02:00
parent a355a8413c
commit e4542827c8

View file

@ -64,7 +64,8 @@ class AssetDispatcher extends DispatcherFilter {
return $response;
}
$ext = array_pop(explode('.', $url));
$pathSegments = explode('.', $url);
$ext = array_pop($pathSegments);
$this->_deliverAsset($response, $assetFile, $ext);
return $response;
}