Search found 2 matches

Page 1 of 1

Search found 2 matches

Re: [SOLVED] Get Current Page URL

Use like trim($_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"], "/") to get rid of the tailing "/". Hope this helps ;)

Jump to post
  • Tue Oct 01, 2013 12:13 am
  • Replies 3
  • Views 21005
Re: Using LessPHP with Opencart

in this way @import file changes will not be detected. Try this method. function autoCompileLess($inputFile, $outputFile) { // load the cache $cacheFile = $inputFile.".cache"; if (file_exists($cacheFile)) { $cache = unserialize(file_get_contents($cacheFile)); } else { $cache = $inputFile; } $less = ...

Jump to post
  • Sun Jan 13, 2013 2:37 am
  • Replies 3
  • Views 5468

Page 1 of 1

Search found 2 matches