Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Demoli/3665797 to your computer and use it in GitHub Desktop.
Save Demoli/3665797 to your computer and use it in GitHub Desktop.
Fooman_Speedster fix for lessCSS
Replace lines 84 - 85 with:
$skinUrl = $this->getSkinUrl($item['name']);
$joinDir = strpos($skinUrl, 'skin') !== false ? 'skin' : 'media';
$chunks=explode('/' . $joinDir, $this->getSkinUrl($item['name']),2);
$lines[$if]['stylesheet'][] = "/".$webroot.$joinDir.$chunks[1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment