I\'m using Html Helper css() method to link my stylesheets just like this: Html->css(\'reset.css\');?> but what if my
The exact same command should work:
Html->css('reset.css');
?>
It automatically adds the path to the CSS folder if the given path 'reset.css' doesn't start with a slash.
By the way, if you do need to get the base url in Cake, you can use the Router class:
//with http://site.domain.com/my_app
echo Router::url('/') //-> /my_app
echo Router::url('/', true) //-> http://site.domain.com/my_app