mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Add cache/plugins to clearCache functions
This commit is contained in:
parent
8378bc0d57
commit
ad570688c9
@ -1129,9 +1129,10 @@ function clearCache()
|
||||
$cache->delete('template_ini' . $template_name);
|
||||
}
|
||||
|
||||
deleteDirectory(CACHE . 'signatures', array('.htaccess', 'index.html'), true);
|
||||
deleteDirectory(CACHE . 'twig', array('.htaccess', 'index.html'), true);
|
||||
deleteDirectory(CACHE, array('signatures', 'twig', '.htaccess', 'index.html'), true);
|
||||
deleteDirectory(CACHE . 'signatures', ['index.html'], true);
|
||||
deleteDirectory(CACHE . 'twig', ['index.html'], true);
|
||||
deleteDirectory(CACHE . 'plugins', ['index.html'], true);
|
||||
deleteDirectory(CACHE, ['signatures', 'twig', 'plugins', 'index.html'], true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user