My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Usage  

Usage

How to call it

.htaccess

Here is a rule for my rewriting, any call to a .lcss file is redirected to the script :

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php5
DirectoryIndex test.php5
RewriteEngine on

RewriteRule ^([^\.]+).lcss$ _lesscss.php5?source=$1.css [L,QSA]

Direct call

The direct call is lesscss.php5?source=path_to/my/file.css

Powered by Google Project Hosting