|
@@ -6603,18 +6603,18 @@ function install_wiki {
|
6603
|
6603
|
|
6604
|
6604
|
# disallow registration of new users
|
6605
|
6605
|
if ! grep -q "disableactions" /etc/dokuwiki/local.php; then
|
6606
|
|
- echo "$conf['disableactions'] = 'register'" >> /etc/dokuwiki/local.php
|
|
6606
|
+ echo "\$conf['disableactions'] = 'register';" >> /etc/dokuwiki/local.php
|
6607
|
6607
|
fi
|
6608
|
6608
|
if ! grep -q "disableactions" /var/lib/dokuwiki/custom/local.php; then
|
6609
|
|
- echo "$conf['disableactions'] = 'register';" >> /var/lib/dokuwiki/custom/local.php
|
|
6609
|
+ echo "\$conf['disableactions'] = 'register';" >> /var/lib/dokuwiki/custom/local.php
|
6610
|
6610
|
fi
|
6611
|
6611
|
|
6612
|
6612
|
if ! grep -q "authtype" /var/lib/dokuwiki/custom/local.php; then
|
6613
|
|
- echo "$conf['authtype'] = 'authplain';" >> /var/lib/dokuwiki/custom/local.php
|
|
6613
|
+ echo "\$conf['authtype'] = 'authplain';" >> /var/lib/dokuwiki/custom/local.php
|
6614
|
6614
|
fi
|
6615
|
6615
|
if ! grep -q "authtype" /etc/dokuwiki/local.php; then
|
6616
|
|
- echo "$conf['authtype'] = 'authplain';" >> /etc/dokuwiki/local.php
|
6617
|
|
- fi
|
|
6616
|
+ echo "\$conf['authtype'] = 'authplain';" >> /etc/dokuwiki/local.php
|
|
6617
|
+ fi
|
6618
|
6618
|
|
6619
|
6619
|
get_wiki_admin_password
|
6620
|
6620
|
if [ ! $WIKI_ADMIN_PASSWORD ]; then
|