mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-17 07:10:48 +03:00
Fix
This commit is contained in:
parent
a7abf71351
commit
8b235544eb
|
@ -115,9 +115,11 @@ class Engine extends Object {
|
|||
*/
|
||||
$oProfiler=ProfilerSimple::getInstance();
|
||||
$iTimeId=$oProfiler->Start('InitModule',get_class($oModule));
|
||||
|
||||
$oModule->Init();
|
||||
|
||||
|
||||
if(!$oModule->isInit()) {
|
||||
$oModule->Init();
|
||||
$oModule->SetInit();
|
||||
}
|
||||
$oProfiler->Stop($iTimeId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue