]> git.pld-linux.org Git - packages/lessphp.git/blob - fixes.patch
ba6be917de93c27e826fe531c5f0bda6c57b9263
[packages/lessphp.git] / fixes.patch
1 --- lessphp-0.3.5/plessc~       2012-10-04 06:36:19.000000000 +0300
2 +++ lessphp-0.3.5/plessc        2012-10-04 06:37:12.239862158 +0300
3 @@ -1,4 +1,4 @@
4 -#!/usr/bin/php -q
5 +#!/usr/bin/php
6  <?php
7  // Command line utility to compile LESS to STDOUT
8  // Leaf Corcoran <leafot@gmail.com>, 2012
9 @@ -38,10 +38,7 @@
10         exit($HELP);
11  }
12  
13 -error_reporting(E_ALL);
14 -$path  = realpath(dirname(__FILE__)).'/';
15 -
16 -require $path."lessc.inc.php";
17 +require_once "lessc.inc.php";
18  
19  $VERSION = lessc::$VERSION;
20  
21 @@ -213,5 +210,3 @@
22         err($fa.$ex->getMessage());
23         exit(1);
24  }
25 -
26 -?>
This page took 0.056471 seconds and 2 git commands to generate.