Skip to content

Commit

Permalink
[Fix] devmode for templates base on bootstrap 2
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhlh committed Apr 29, 2014
1 parent 3e8cdf5 commit 09c4eb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/plg_system_t3/includes/lessphp/legacy.less.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ public static function getCss($path)
return $data;
}

function buildCss($path)
public static function buildCss($path)
{
$t3less = self::getInstance();
$app = JFactory::getApplication();
$theme = $app->getUserState('vars_theme', '');

Expand Down Expand Up @@ -105,7 +106,7 @@ function buildCss($path)
}

// not cached, build & store it
if (!$this->compileCss($path, $cssfile)) {
if (!$t3less->compileCss($path, $cssfile)) {
return null;
}

Expand Down

0 comments on commit 09c4eb2

Please sign in to comment.