Initialize Hooks on the init action
This commit is contained in:
committed by
M. Shull
parent
c5f991658e
commit
7418543694
@@ -163,6 +163,7 @@ class Initializer {
|
||||
try {
|
||||
$this->renderer = $this->renderer_factory->getRenderer();
|
||||
$this->setupWidget();
|
||||
$this->hooks->init();
|
||||
} catch (\Exception $e) {
|
||||
$this->handleFailedInitialization($e);
|
||||
}
|
||||
@@ -270,7 +271,6 @@ class Initializer {
|
||||
function postInitialize() {
|
||||
if (!defined(self::INITIALIZED)) return;
|
||||
try {
|
||||
$this->hooks->init();
|
||||
$this->api->init();
|
||||
$this->router->init();
|
||||
$this->setupUserLocale();
|
||||
|
Reference in New Issue
Block a user