ソースを参照

Update freedombone

These settings cause PHP to throw an error. Bash can't echo "$conf" because bash isent that smart. I tried to fix this using printf and cat but could not get the result we need. For now this should be removed until someone can fix it.
jreeve0805 10 年 前
コミット
77c9e21f82
共有1 個のファイルを変更した13 個の追加13 個の削除を含む
  1. 13
    13
      src/freedombone

+ 13
- 13
src/freedombone ファイルの表示

@@ -6592,19 +6592,19 @@ function install_wiki {
6592 6592
   sed -i "s/@admin/$MY_USERNAME/g" /etc/dokuwiki/local.php
6593 6593
 
6594 6594
   # disallow registration of new users
6595
-  if ! grep -q "disableactions" /etc/dokuwiki/local.php; then
6596
-      echo "$conf['disableactions'] = 'register'" >> /etc/dokuwiki/local.php
6597
-  fi
6598
-  if ! grep -q "disableactions" /var/lib/dokuwiki/custom/local.php; then
6599
-      echo "$conf['disableactions'] = 'register';" >> /var/lib/dokuwiki/custom/local.php
6600
-  fi
6601
-
6602
-  if ! grep -q "authtype" /var/lib/dokuwiki/custom/local.php; then
6603
-      echo "$conf['authtype'] = 'authplain';" >> /var/lib/dokuwiki/custom/local.php
6604
-  fi
6605
-  if ! grep -q "authtype" /etc/dokuwiki/local.php; then
6606
-      echo "$conf['authtype'] = 'authplain';" >> /etc/dokuwiki/local.php
6607
-  fi
6595
+  #if ! grep -q "disableactions" /etc/dokuwiki/local.php; then
6596
+  #    echo "$conf['disableactions'] = 'register';" >> /etc/dokuwiki/local.php
6597
+  #fi
6598
+  #if ! grep -q "disableactions" /var/lib/dokuwiki/custom/local.php; then
6599
+  #    echo "$conf['disableactions'] = 'register';" >> /var/lib/dokuwiki/custom/local.php
6600
+  #fi
6601
+
6602
+  #if ! grep -q "authtype" /var/lib/dokuwiki/custom/local.php; then
6603
+  #    echo "$conf['authtype'] = 'authplain';" >> /var/lib/dokuwiki/custom/local.php
6604
+  #fi
6605
+  #if ! grep -q "authtype" /etc/dokuwiki/local.php; then
6606
+  #    echo "$conf['authtype'] = 'authplain';" >> /etc/dokuwiki/local.php
6607
+ #fi
6608 6608
 
6609 6609
   get_wiki_admin_password
6610 6610
   if [ ! $WIKI_ADMIN_PASSWORD ]; then