commit
69255fc99d
|
@ -6603,17 +6603,17 @@ function install_wiki {
|
|||
|
||||
# disallow registration of new users
|
||||
if ! grep -q "disableactions" /etc/dokuwiki/local.php; then
|
||||
echo "$conf['disableactions'] = 'register'" >> /etc/dokuwiki/local.php
|
||||
echo "\$conf['disableactions'] = 'register';" >> /etc/dokuwiki/local.php
|
||||
fi
|
||||
if ! grep -q "disableactions" /var/lib/dokuwiki/custom/local.php; then
|
||||
echo "$conf['disableactions'] = 'register';" >> /var/lib/dokuwiki/custom/local.php
|
||||
echo "\$conf['disableactions'] = 'register';" >> /var/lib/dokuwiki/custom/local.php
|
||||
fi
|
||||
|
||||
if ! grep -q "authtype" /var/lib/dokuwiki/custom/local.php; then
|
||||
echo "$conf['authtype'] = 'authplain';" >> /var/lib/dokuwiki/custom/local.php
|
||||
echo "\$conf['authtype'] = 'authplain';" >> /var/lib/dokuwiki/custom/local.php
|
||||
fi
|
||||
if ! grep -q "authtype" /etc/dokuwiki/local.php; then
|
||||
echo "$conf['authtype'] = 'authplain';" >> /etc/dokuwiki/local.php
|
||||
echo "\$conf['authtype'] = 'authplain';" >> /etc/dokuwiki/local.php
|
||||
fi
|
||||
|
||||
get_wiki_admin_password
|
||||
|
|
Loading…
Reference in New Issue