aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/install.php
diff options
context:
space:
mode:
authorPhy <git@phy25.com>2019-03-13 13:54:14 -0400
committerPhy <git@phy25.com>2019-03-13 13:54:14 -0400
commitb9ab8e4f0ab93b7d32edb99f3c124d0b57a97ec3 (patch)
tree3b6072704a5915a364fe9f82e8756fe18f67495e /install.php
parentff6bf340ad396a6a8fa7ef09a77872bb7168e6ac (diff)
downloaddokuwiki-b9ab8e4f0ab93b7d32edb99f3c124d0b57a97ec3.tar.gz
dokuwiki-b9ab8e4f0ab93b7d32edb99f3c124d0b57a97ec3.zip
install.php: respect useacl=0 choice, fixes #2576
Diffstat (limited to 'install.php')
-rw-r--r--install.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/install.php b/install.php
index dfbce1de8..64f60c51f 100644
--- a/install.php
+++ b/install.php
@@ -309,6 +309,9 @@ function check_data(&$d){
$error[] = sprintf($lang['i_badval'],$lang['email']);
$ok = false;
}
+ }else{
+ // Since default = 1, browser won't send acl=0 when user untick acl
+ $d['acl'] = '0';
}
}
$d = array_merge($form_default, $d);