Another way to clear database cache

This commit is contained in:
slawkens
2024-01-27 19:27:25 +01:00
parent 3a58c8a6f9
commit 87df817eae
3 changed files with 25 additions and 7 deletions

View File

@@ -74,7 +74,7 @@ if(ModelsFAQ::count() == 0) {
]);
}
clearCache();
$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']);
$locale['step_finish_desc'] = str_replace('$HOMEPAGE$', generateLink(str_replace('tools/', '', BASE_URL), $locale['step_finish_homepage'], true), $locale['step_finish_desc']);