Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
1.7.04
Browse files Browse the repository at this point in the history
  • Loading branch information
oyejorge committed May 27, 2015
1 parent cdf3e59 commit fc971e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions lib/Less/Tree/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,13 @@ public function PathAndUri(){
}
}elseif( !empty($rootpath) ){

if( strpos($evald_path,$rooturi) === 0 ){
$evald_path = substr( $evald_path, strlen($rooturi) );

if( $rooturi ){
if( strpos($evald_path,$rooturi) === 0 ){
$evald_path = substr( $evald_path, strlen($rooturi) );
}
}

$path = rtrim($rootpath,'/\\').'/'.ltrim($evald_path,'/\\');

if( file_exists($path) ){
Expand Down
2 changes: 1 addition & 1 deletion lib/Less/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
class Less_Version{

const version = '1.7.0.3'; // The current build number of less.php
const version = '1.7.0.4'; // The current build number of less.php
const less_version = '1.7'; // The less.js version that this build should be compatible with
const cache_version = '170'; // The parser cache version

Expand Down

0 comments on commit fc971e6

Please sign in to comment.