mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-20 11:16:36 +02:00
Fix doubly applied basepaths to lockfiles.
This commit is contained in:
parent
6122c449ab
commit
1134497129
|
@ -1159,7 +1159,7 @@
|
|||
|
||||
if ($files) {
|
||||
foreach ($files as $file) {
|
||||
if (!file_is_locked($file) && time() - filemtime($file) > 86400*2) {
|
||||
if (!file_is_locked(basename($file)) && time() - filemtime($file) > 86400*2) {
|
||||
unlink($file);
|
||||
++$num_deleted;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user