mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix index.html deleting on cacheClear()
This commit is contained in:
parent
35c4988c98
commit
d0d77b8775
@ -1122,9 +1122,9 @@ function clearCache()
|
||||
$cache->delete('template_ini' . $template_name);
|
||||
}
|
||||
|
||||
deleteDirectory(CACHE . 'signatures', array('.htaccess'), true);
|
||||
deleteDirectory(CACHE . 'twig', array('.htaccess'), true);
|
||||
deleteDirectory(CACHE, array('signatures', 'twig', '.htaccess'), true);
|
||||
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);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user