Skip to content

Commit

Permalink
Dev: quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed May 23, 2017
1 parent d28e94f commit 618f10f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/models/TemplateConfiguration.php
Expand Up @@ -391,16 +391,16 @@ private function getFrameworkPackages($oTemplate, $dir="")
$framework,
);

$sTemplateurl = $oTemplate->getTemplateURL();
Yii::app()->clientScript->addPackage(
$framework.'-template', array(
'devBaseUrl' => $sTemplateurl, // Don't use asset manager
'basePath' => $sPathName, // basePath: the asset manager will be used
'devBaseUrl' => $sTemplateurl, // Don't use asset manager
'basePath' => $sPathName, // basePath: the asset manager will be used
'css' => $packageCss,
'js' => $packageJs,
'depends' => $aDepends,
)
);

$frameworkPackages[]=$framework.'-template';
}
return $frameworkPackages;
Expand Down

0 comments on commit 618f10f

Please sign in to comment.