In Kohana 3 bootstrap.php
one can define base_url
:
Kohana::init(array(
'base_url' => '/foo/',
));
This usually means also moving the /js/
, /css/
and other media to that base dir like /foo/js/
, /foo/css/
. My question is not to discuss good or bad of such.
Is there a built-in way in Kohana to access the base_url from a template (just like in Django you can use {{ MEDIA_URL }}css/
)?