aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/script.js
diff options
context:
space:
mode:
authormovatica <c0d3@movatica.com>2020-02-18 19:29:53 +0100
committermovatica <c0d3@movatica.com>2020-02-18 19:29:53 +0100
commit3aa75874971939d1a5fde5d5cbca46695cb03af3 (patch)
tree02cdd4bd34eb7fcd3e1e62e6f3d4ec8fb05df563 /lib/scripts/script.js
parentd4f6a7852c473169f2c3998e813e107bc6b0d9e0 (diff)
downloaddokuwiki-3aa75874971939d1a5fde5d5cbca46695cb03af3.tar.gz
dokuwiki-3aa75874971939d1a5fde5d5cbca46695cb03af3.zip
Fixed inconsistent handling of falsy values on fperm setting
The $conf['fperm'] value was checked in multiple files using different methods. This can cause permission trouble with restricted environments, i.e. when chmod is forbidden and file permissions are non-default. Now, all checks use implicit cast to boolean which leads to consistent behaviour. Also, a misleading variable was renamed in context to better understand one of the checks.
Diffstat (limited to 'lib/scripts/script.js')
0 files changed, 0 insertions, 0 deletions