formatter = new CompressedFormatter(); $v = $less->compileFile($filename . ".less"); echo("/* compiled with lessphp v0.4.0 - GPLv3/MIT - http://leafo.net/lessphp */\n"); echo("/* for human-readable source of this file, replace .css with .less in the file name */\n"); echo($v); } catch (Exception $e) { echo "/* " . $e->getMessage() . " */\n"; } } ?>