I'm new with the lessphp library, I'm using Joomla and I'm working with a template, I'd like to compile a less file with a php file, this is way I'm using phpless, to compile my LESS file I'm using this code:
require "lessc.inc.php";
$less = new lessc;
echo $less->compileFile($this->baseurl.'/templates/'.$this->template.'/config/config.less');
but also if the url is correct I'm constantly having this error:
load error: failed to find /mywebsite/templates/mytemplate/config/config.less
What I'm missing?