mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-12 07:44:29 +02:00
Fix HOOK_STARTUP location
This commit is contained in:
parent
b46ddb43d0
commit
a73fb1003e
@ -76,6 +76,8 @@ require_once SYSTEM . 'status.php';
|
|||||||
$twig->addGlobal('config', $config);
|
$twig->addGlobal('config', $config);
|
||||||
$twig->addGlobal('status', $status);
|
$twig->addGlobal('status', $status);
|
||||||
|
|
||||||
|
$hooks->trigger(HOOK_STARTUP);
|
||||||
|
|
||||||
// backward support for gesior
|
// backward support for gesior
|
||||||
if(setting('core.backward_support')) {
|
if(setting('core.backward_support')) {
|
||||||
define('INITIALIZED', true);
|
define('INITIALIZED', true);
|
||||||
@ -117,8 +119,6 @@ if(setting('core.backward_support')) {
|
|||||||
|
|
||||||
require_once SYSTEM . 'router.php';
|
require_once SYSTEM . 'router.php';
|
||||||
|
|
||||||
$hooks->trigger(HOOK_STARTUP);
|
|
||||||
|
|
||||||
// anonymous usage statistics
|
// anonymous usage statistics
|
||||||
// sent only when user agrees
|
// sent only when user agrees
|
||||||
if(setting('core.anonymous_usage_statistics')) {
|
if(setting('core.anonymous_usage_statistics')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user