I wanna custom function
public function asset($path, $secure = null)
{
if ($this->isValidUrl($path)) {
return $path;
}
$root = $this->getRootUrl($this->getScheme($secure));
return $this->removeIndex($root) . '/' . trim($path, '/');
}
The code above from bootstrap/compile/cache.php
. Please give me full example.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire