ソースを参照

Merge pull request #50 from jreeve0805/patch-1

Avoid PHP errors
Bob Mottram 10 年 前
コミット
69255fc99d
共有1 個のファイルを変更した5 個の追加5 個の削除を含む
  1. 5
    5
      src/freedombone

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

6603
 
6603
 
6604
   # disallow registration of new users
6604
   # disallow registration of new users
6605
   if ! grep -q "disableactions" /etc/dokuwiki/local.php; then
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
   fi
6607
   fi
6608
   if ! grep -q "disableactions" /var/lib/dokuwiki/custom/local.php; then
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
   fi
6610
   fi
6611
 
6611
 
6612
   if ! grep -q "authtype" /var/lib/dokuwiki/custom/local.php; then
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
   fi
6614
   fi
6615
   if ! grep -q "authtype" /etc/dokuwiki/local.php; then
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
   get_wiki_admin_password
6619
   get_wiki_admin_password
6620
   if [ ! $WIKI_ADMIN_PASSWORD ]; then
6620
   if [ ! $WIKI_ADMIN_PASSWORD ]; then