I am using the fTemplating/minification. The problem I am having is that the end result of the place is just giving the path of /assets/css/example.css, which works great if the requested page is in my doc root. But for example if the page is at www.mydomain.com/user/me, it gives the css a path of /user/me/assets....
How can I specify an absolute path rather than relative? example i would like it to be http://www.mydomain.com/assets/css/example.css
Here is my code...
$template = new fTemplating('assets/');
$template->enableMinification('development', 'assets/cache/');
// add css to be minified
$template->add('css' , '/assets/css/1140.css');
$template->add('css' , '/assets/css/formalize.css');
$template->add('css' , '/assets/css/combined.css');
and using place to stick it into my template:
<!-- CSS: implied media="all" -->
<?php $template->place('css') ?>