use dynamic module path for smarty plugins
Cette révision appartient à :
Parent
293ea7dc4e
révision
6001252d9a
@ -1,11 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class d3_oxutilsview_googleanalytics extends d3_oxutilsview_googleanalytics_parent
|
||||
{
|
||||
protected function _fillCommonSmartyProperties( $oSmarty )
|
||||
{
|
||||
parent::_fillCommonSmartyProperties($oSmarty);
|
||||
|
||||
$oSmarty->plugins_dir[] = '../../modules/d3/d3_googleanalytics/core/smarty/plugins';
|
||||
$oSmarty->plugins_dir[] =
|
||||
oxRegistry::getConfig()->getActiveView()->getViewConfig()->getModulePath('d3_googleanalytics').
|
||||
'core/smarty/plugins';
|
||||
}
|
||||
}
|
Chargement…
Référencer dans un nouveau ticket
Block a user