diff options
Diffstat (limited to 'lib')
-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 2e70b59b3..451ba97ca 100644 --- a/lib/exe/indexer.php +++ b/lib/exe/indexer.php @@ -25,7 +25,7 @@ if($last > @filemtime(wikiFN($ID))) sendGIF(); // try to aquire a lock $lock = $conf['lockdir'].'/_indexer.lock'; -while(!@mkdir($lock)){ +while(!@mkdir($lock,0777)){ if(time()-@filemtime($lock) > 60*5){ // looks like a stale lock - remove it @rmdir($lock); |