summaryrefslogtreecommitdiff
path: root/inc/indexer.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-10-21 18:54:34 +0100
committerChristopher Smith <chris@jalakai.co.uk>2013-10-21 18:54:34 +0100
commitfa457f5d82989812f1961cb9643c0b55824ba0b3 (patch)
treeea4e6325a9a9d760f6603758449a70ac50cc052d /inc/indexer.php
parent4b94edc8e8badb6bcdc25b41f73310a8e323ba92 (diff)
parent7951a37379700f564a20c882a920086b49c473c8 (diff)
downloadrpg-fa457f5d82989812f1961cb9643c0b55824ba0b3.tar.gz
rpg-fa457f5d82989812f1961cb9643c0b55824ba0b3.tar.bz2
Merge branch 'master' into FS#2867
Diffstat (limited to 'inc/indexer.php')
-rw-r--r--inc/indexer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/indexer.php b/inc/indexer.php
index 378abb360..658fb966b 100644
--- a/inc/indexer.php
+++ b/inc/indexer.php
@@ -1017,8 +1017,9 @@ class Doku_Indexer {
return false;
}
}
- if ($conf['dperm'])
+ if (!empty($conf['dperm'])) {
chmod($lock, $conf['dperm']);
+ }
return $status;
}