]> git.wh0rd.org Git - tt-rss.git/commitdiff
file_is_locked: return true when flock() is undefined
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 22 Mar 2008 17:37:51 +0000 (18:37 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 22 Mar 2008 17:37:51 +0000 (18:37 +0100)
functions.php

index 958f137df7936dd8df9e96c2cf7fb9fb3736d1ad..de54648374a4286a29708b48bc7a8b088514fd4d 100644 (file)
                                return true;
                        }
                }
-               return false;
+               return true; // consider the file always locked and skip the test
        }
 
        function make_lockfile($filename) {