diff --git a/src/freedombone b/src/freedombone index 42dfc572..d9451e36 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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