1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 11:40:48 +03:00
This commit is contained in:
Mzhelskiy Maxim 2012-12-18 20:54:05 +04:00
parent 927507a392
commit 23f1b0b2ef

View file

@ -215,7 +215,7 @@ class ModuleViewer extends Module {
if(!is_dir($sCompilePath)) @mkdir($sCompilePath);
$this->oSmarty->setCompileDir($sCompilePath);
$this->oSmarty->setCacheDir(Config::Get('path.smarty.cache'));
$this->oSmarty->setPluginsDir(array_merge(array(Config::Get('path.smarty.plug'),'plugins'),$this->oSmarty->getPluginsDir()));
$this->oSmarty->addPluginsDir(array(Config::Get('path.smarty.plug'),'plugins'));
/**
* Получаем настройки JS, CSS файлов
*/