浏览代码

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

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

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