mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 16:04:24 +03:00
commit
05d7fbaebc
|
@ -205,7 +205,7 @@ class ModuleViewer extends Module {
|
||||||
* Создаём объект Smarty и устанавливаем необходимые параметры
|
* Создаём объект Smarty и устанавливаем необходимые параметры
|
||||||
*/
|
*/
|
||||||
$this->oSmarty = $this->CreateSmartyObject();
|
$this->oSmarty = $this->CreateSmartyObject();
|
||||||
$this->oSmarty->error_reporting=error_reporting()^E_NOTICE; // подавляем NOTICE ошибки - в этом вся прелесть смарти )
|
$this->oSmarty->error_reporting=error_reporting() & ~E_NOTICE; // подавляем NOTICE ошибки - в этом вся прелесть смарти )
|
||||||
$this->oSmarty->setTemplateDir(array_merge((array)Config::Get('path.smarty.template'),array(Config::Get('path.root.server').'/plugins/')));
|
$this->oSmarty->setTemplateDir(array_merge((array)Config::Get('path.smarty.template'),array(Config::Get('path.root.server').'/plugins/')));
|
||||||
$this->oSmarty->compile_check=Config::Get('smarty.compile_check');
|
$this->oSmarty->compile_check=Config::Get('smarty.compile_check');
|
||||||
/**
|
/**
|
||||||
|
@ -1420,4 +1420,4 @@ class ModuleViewer extends Module {
|
||||||
$this->MenuVarAssign();
|
$this->MenuVarAssign();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue