mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-28 15:50:15 +02:00
Revert delete clearRouteCache, is used somewhere else
This commit is contained in:
parent
b4b62442fe
commit
c92148d467
@ -1281,6 +1281,14 @@ function clearCache()
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function clearRouteCache(): void
|
||||||
|
{
|
||||||
|
$routeCacheFile = CACHE . 'route.cache';
|
||||||
|
if (file_exists($routeCacheFile)) {
|
||||||
|
unlink($routeCacheFile);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function getCustomPageInfo($name)
|
function getCustomPageInfo($name)
|
||||||
{
|
{
|
||||||
global $logged_access;
|
global $logged_access;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user