1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-17 07:10:48 +03:00
This commit is contained in:
Alexey Kachayev 2010-02-04 19:26:38 +00:00
parent a7abf71351
commit 8b235544eb

View file

@ -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);
}
}