Less PHP

Permalink
Hi,
As i see Less PHP already included into the vendor folder of concrete5. Can anyone help me how should i use that? What i want to do is (in raw php)
require "lessc.inc.php";
$lessc = new lessc();
$lessc->setVariables($less_variables);
$lessc->compile($less_file);

Now how should i write that at a concrete5 controller file?

 
JohntheFish replied on at Permalink Reply
JohntheFish
You don't need to. The core will automatically detect, compile and cache compiled less for you.
Herkool replied on at Permalink Reply
I want to do it manually, how can i send variables to less file with php?