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:
authorrobocoder <anthon.pang@gmail.com>2012-03-05 02:04:41 +0400
committerrobocoder <anthon.pang@gmail.com>2012-03-05 02:04:41 +0400
commit884e54cf378bffdea2dd5360af8a260b25352746 (patch)
tree83fe77732234c1c3e858501ab9ab200989732df1 /core/SmartyPlugins
parent775978937e1e393ba764968d5d41f261b488b8a8 (diff)
refs #1713 - merge dev branch to trunk (config class refactoring)
git-svn-id: http://dev.piwik.org/svn/trunk@5951 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/SmartyPlugins')
-rw-r--r--core/SmartyPlugins/outputfilter.ajaxcdn.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/SmartyPlugins/outputfilter.ajaxcdn.php b/core/SmartyPlugins/outputfilter.ajaxcdn.php
index 97d562f4b9..cf7fb535fa 100644
--- a/core/SmartyPlugins/outputfilter.ajaxcdn.php
+++ b/core/SmartyPlugins/outputfilter.ajaxcdn.php
@@ -27,9 +27,9 @@
*/
function smarty_outputfilter_ajaxcdn($source, &$smarty)
{
- $jquery_version = Zend_Registry::get('config')->General->jquery_version;
- $jqueryui_version = Zend_Registry::get('config')->General->jqueryui_version;
- $swfobject_version = Zend_Registry::get('config')->General->swfobject_version;
+ $jquery_version = Piwik_Config::getInstance()->General['jquery_version'];
+ $jqueryui_version = Piwik_Config::getInstance()->General['jqueryui_version'];
+ $swfobject_version = Piwik_Config::getInstance()->General['swfobject_version'];
$pattern = array(
'~<link rel="stylesheet" type="text/css" href="libs/jquery/themes/([^"]*)" />~',