瀏覽代碼

mail domain

Bob Mottram 8 年之前
父節點
當前提交
813558aaf2
共有 2 個檔案被更改,包括 3 行新增0 行删除
  1. 1
    0
      src/freedombone-app-gnusocial
  2. 2
    0
      src/freedombone-app-postactiv

+ 1
- 0
src/freedombone-app-gnusocial 查看文件

735
 
735
 
736
     # turn off logging
736
     # turn off logging
737
     echo "\$config['site']['logfile'] = '/dev/null';" >> $gnusocial_config_file
737
     echo "\$config['site']['logfile'] = '/dev/null';" >> $gnusocial_config_file
738
+    echo "\$config['mail']['domain'] = '${DEFAULT_DOMAIN_NAME}';" >> $gnusocial_config_file
738
 
739
 
739
     # This improves performance
740
     # This improves performance
740
     sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $gnusocial_config_file
741
     sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $gnusocial_config_file

+ 2
- 0
src/freedombone-app-postactiv 查看文件

578
         echo "\$config['ostatus']['hub_retries'] = 3;" >> $postactiv_config_file
578
         echo "\$config['ostatus']['hub_retries'] = 3;" >> $postactiv_config_file
579
     fi
579
     fi
580
 
580
 
581
+    echo "\$config['mail']['domain'] = '${DEFAULT_DOMAIN_NAME}';" >> $postactiv_config_file
582
+
581
     # This improves performance
583
     # This improves performance
582
     sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $postactiv_config_file
584
     sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $postactiv_config_file
583
 
585