diff options
author | movatica <c0d3@movatica.com> | 2020-02-18 19:29:53 +0100 |
---|---|---|
committer | movatica <c0d3@movatica.com> | 2020-02-18 19:29:53 +0100 |
commit | 3aa75874971939d1a5fde5d5cbca46695cb03af3 (patch) | |
tree | 02cdd4bd34eb7fcd3e1e62e6f3d4ec8fb05df563 /lib/scripts/linkwiz.js | |
parent | d4f6a7852c473169f2c3998e813e107bc6b0d9e0 (diff) | |
download | dokuwiki-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/linkwiz.js')
0 files changed, 0 insertions, 0 deletions