mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-10 23:04:30 +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('status', $status);
|
||||
|
||||
$hooks->trigger(HOOK_STARTUP);
|
||||
|
||||
// backward support for gesior
|
||||
if(setting('core.backward_support')) {
|
||||
define('INITIALIZED', true);
|
||||
@ -117,8 +119,6 @@ if(setting('core.backward_support')) {
|
||||
|
||||
require_once SYSTEM . 'router.php';
|
||||
|
||||
$hooks->trigger(HOOK_STARTUP);
|
||||
|
||||
// anonymous usage statistics
|
||||
// sent only when user agrees
|
||||
if(setting('core.anonymous_usage_statistics')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user