Better place for INSTALL_FINISH hook

This commit is contained in:
slawkens
2024-05-31 19:21:37 +02:00
parent 44eff8092c
commit d3f03fa735
3 changed files with 4 additions and 1 deletions

View File

@@ -77,6 +77,8 @@ if(ModelsFAQ::count() == 0) {
]);
}
$hooks->trigger(HOOK_INSTALL_FINISH);
$db->setClearCacheAfter(true);
$locale['step_finish_desc'] = str_replace('$ADMIN_PANEL$', generateLink(str_replace('tools/', '',ADMIN_URL), $locale['step_finish_admin_panel'], true), $locale['step_finish_desc']);