commit
69255fc99d
|
@ -6603,18 +6603,18 @@ 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
|
||||
fi
|
||||
echo "\$conf['authtype'] = 'authplain';" >> /etc/dokuwiki/local.php
|
||||
fi
|
||||
|
||||
get_wiki_admin_password
|
||||
if [ ! $WIKI_ADMIN_PASSWORD ]; then
|
||||
|
|
Loading…
Reference in New Issue