mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-20 17:58:24 +03:00
fix cron
This commit is contained in:
parent
145a4364e1
commit
80cef80dde
|
@ -40,6 +40,10 @@ class Cron extends Object {
|
|||
|
||||
public function __construct($sLockFile=null) {
|
||||
$this->oEngine=Engine::getInstance();
|
||||
/**
|
||||
* Инициализируем ядро
|
||||
*/
|
||||
$this->oEngine->Init();
|
||||
|
||||
if(!empty($sLockFile)) {
|
||||
$this->oLockFile=fopen($sLockFile,'a');
|
||||
|
|
Loading…
Reference in a new issue