mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 11:40:48 +03:00
This commit is contained in:
parent
f3e7c62d98
commit
1c5b139019
|
@ -165,8 +165,8 @@ class ModuleViewer extends Module {
|
|||
* Инициализация модуля
|
||||
*
|
||||
*/
|
||||
public function Init() {
|
||||
$this->Hook_Run('viewer_init_start');
|
||||
public function Init($bLocal=false) {
|
||||
$this->Hook_Run('viewer_init_start',compact('bLocal'));
|
||||
/**
|
||||
* Заголовок HTML страницы
|
||||
*/
|
||||
|
@ -216,7 +216,7 @@ class ModuleViewer extends Module {
|
|||
*/
|
||||
public function GetLocalViewer() {
|
||||
$oViewerLocal=new ModuleViewer(Engine::getInstance());
|
||||
$oViewerLocal->Init();
|
||||
$oViewerLocal->Init(true);
|
||||
$oViewerLocal->VarAssign();
|
||||
$oViewerLocal->Assign('aLang',$this->Lang_GetLangMsg());
|
||||
|
||||
|
|
Loading…
Reference in a new issue