Adding $pos = 0; to avoid php notice.

This commit is contained in:
renan.saddam 2009-11-26 17:52:14 -02:00
parent 3907893263
commit f9204ebe7c

View file

@ -613,6 +613,7 @@ class Dispatcher extends Object {
$ext = array_pop(explode('.', $url));
if (isset($Media->mimeType[$ext])) {
$pos = 0;
$parts = explode('/', $url);
if ($parts[0] === 'css' || $parts[0] === 'js' || $parts[0] === 'img') {
$pos = 0;