Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Moumné <julien@piwik.org>2013-12-17 20:52:36 +0400
committerJulien Moumné <julien@piwik.org>2013-12-17 20:52:36 +0400
commit6624e27e575d6056da7881bc05e9972c50ec1128 (patch)
tree06bec63f550d16ccc8a428d40a79604496ce0985 /core/Twig.php
parent5d44202fb79a9b2aa70b00ec88fd316f83a440b0 (diff)
fixes #4373, #1640
Diffstat (limited to 'core/Twig.php')
-rw-r--r--core/Twig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Twig.php b/core/Twig.php
index 69a6501d90..3f15148985 100644
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -104,9 +104,9 @@ class Twig
$assetType = strtolower($params['type']);
switch ($assetType) {
case 'css':
- return AssetManager::getCssAssets();
+ return AssetManager::getInstance()->getCssInclusionDirective();
case 'js':
- return AssetManager::getJsAssets();
+ return AssetManager::getInstance()->getJsInclusionDirective();
default:
throw new Exception("The twig function includeAssets 'type' parameter needs to be either 'css' or 'js'.");
}