summaryrefslogtreecommitdiff
path: root/inc/indexer.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-10-20 11:30:51 -0700
committerAndreas Gohr <andi@splitbrain.org>2013-10-20 11:30:51 -0700
commitd9529222b05d3366179c8a5bbd6d717664b98de0 (patch)
tree7789b8bc9ee9405f0ce33ff19dad5d15fb9b6207 /inc/indexer.php
parent9f5b9cf15569babaa90f0d6f3dd58cefd5439bc5 (diff)
parente07886c01389351f28a254ef6f7c9611453508fb (diff)
downloadrpg-d9529222b05d3366179c8a5bbd6d717664b98de0.tar.gz
rpg-d9529222b05d3366179c8a5bbd6d717664b98de0.tar.bz2
Merge pull request #380 from splitbrain/phpstrict
Php strict
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;
}