diff options
Diffstat (limited to 'lib/exe/indexer.php')
-rw-r--r-- | lib/exe/indexer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/indexer.php b/lib/exe/indexer.php index 49b532507..19eea767f 100644 --- a/lib/exe/indexer.php +++ b/lib/exe/indexer.php @@ -49,7 +49,7 @@ function runIndexer(){ // try to aquire a lock $lock = $conf['lockdir'].'/_indexer.lock'; - while(!@mkdir($lock,0777)){ + while(!@mkdir($lock,$conf['dmode'])){ usleep(50); if(time()-@filemtime($lock) > 60*5){ // looks like a stale lock - remove it |