Merge pull request #163 from dandersson/fix_lock_path

Fix doubly applied basepaths to lockfiles.
master
Andrew Dolgov 12 years ago
commit 1e253d1ec9

@ -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…
Cancel
Save