fix cron issue
This commit is contained in:
@@ -39,7 +39,6 @@ class Initializer {
|
|||||||
$this->setupShortcodes();
|
$this->setupShortcodes();
|
||||||
$this->setupHooks();
|
$this->setupHooks();
|
||||||
$this->setupImages();
|
$this->setupImages();
|
||||||
$this->setupPublicAPI();
|
|
||||||
$this->runQueueSupervisor();
|
$this->runQueueSupervisor();
|
||||||
} catch(\Exception $e) {
|
} catch(\Exception $e) {
|
||||||
// if anything goes wrong during init
|
// if anything goes wrong during init
|
||||||
@@ -50,8 +49,8 @@ class Initializer {
|
|||||||
|
|
||||||
function onInit() {
|
function onInit() {
|
||||||
$this->setupRouter();
|
$this->setupRouter();
|
||||||
|
$this->setupPublicAPI();
|
||||||
$this->setupPages();
|
$this->setupPages();
|
||||||
$this->runQueueSupervisor();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setupDB() {
|
function setupDB() {
|
||||||
|
Reference in New Issue
Block a user