From c92148d467e9c19fdf68d0f77dacec9cfe2e34cf Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 27 Jun 2025 07:23:22 +0200 Subject: [PATCH] Revert delete clearRouteCache, is used somewhere else --- system/functions.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/system/functions.php b/system/functions.php index a3c302c3..540c9af3 100644 --- a/system/functions.php +++ b/system/functions.php @@ -1281,6 +1281,14 @@ function clearCache() return true; } +function clearRouteCache(): void +{ + $routeCacheFile = CACHE . 'route.cache'; + if (file_exists($routeCacheFile)) { + unlink($routeCacheFile); + } +} + function getCustomPageInfo($name) { global $logged_access;