Supporting full urls on css/js/image url constants

This commit is contained in:
Juan Basso 2013-05-27 22:48:40 -04:00
parent f34388c53a
commit c0212a0454

View file

@ -322,6 +322,9 @@ class Helper extends Object {
) { ) {
$path .= $options['ext']; $path .= $options['ext'];
} }
if (strpos($path, '://') !== false) {
return $path;
}
if (isset($plugin)) { if (isset($plugin)) {
$path = Inflector::underscore($plugin) . '/' . $path; $path = Inflector::underscore($plugin) . '/' . $path;
} }