mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Lockfile for onepoll, removing old smarty3 cache files.
This commit is contained in:
parent
edf8bde581
commit
4dcd00cf4b
2 changed files with 15 additions and 2 deletions
|
@ -122,6 +122,9 @@ function poller_run(&$argv, &$argc){
|
|||
// clear cache for photos
|
||||
clear_cache($a->get_basepath(), $a->get_basepath()."/photo");
|
||||
|
||||
// clear smarty cache
|
||||
clear_cache($a->get_basepath()."/view/smarty3/compiled", $a->get_basepath()."/view/smarty3/compiled");
|
||||
|
||||
set_config('system','cache_last_cleared', time());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue