use dynamic module path for smarty plugins
This commit is contained in:
parent
293ea7dc4e
commit
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';
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user