Merge branch 'master' of https://github.com/gmorel/thelia
Conflicts: core/lib/Thelia/Core/Template/Smarty/Assets/SmartyAssetsManager.php
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
namespace Thelia\Core\Template\Smarty\Assets;
|
||||
|
||||
use Thelia\Log\Tlog;
|
||||
use Thelia\Tools\URL;
|
||||
use Thelia\Core\Template\Assets\AssetManagerInterface;
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ class SmartyParser extends Smarty implements ParserInterface
|
||||
public function getTemplateDefinition($webAssetTemplate = false)
|
||||
{
|
||||
$ret = $this->templateDefinition;
|
||||
if ($webAssetTemplate) {
|
||||
if (false !== $webAssetTemplate) {
|
||||
$customPath = str_replace($ret->getName(), $webAssetTemplate, $ret->getPath());
|
||||
$ret->setName($webAssetTemplate);
|
||||
$ret->setPath($customPath);
|
||||
|
||||
Reference in New Issue
Block a user