cfg(torrents): add desc of mailTicketService and comm-variable

This commit is contained in:
OldHawk
2018-03-22 17:24:58 +08:00
parent 4394fb327f
commit 7e8cd89748
2 changed files with 3 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ module.exports = {
* settings of system
*/
settings: {
mailTicketService: false,
console_debug_info: true
},

View File

@@ -18,6 +18,7 @@ module.exports = {
* NOTE: you can change these value at anytime if you understand it
*
* @domain: site domain
* @mailTicketService: settings mailTicketService status, true is enable, false is disable
* @showDemoWarningPopup: if is demo site, show warning popup whene home is opened for the first time.
* @cronTimeZone: timezone of cron
* @showDebugLog: if true, will console.log all debug info at server side and client side. when your site is prod env, please change this
@@ -26,7 +27,7 @@ module.exports = {
app: {
name: commonEnvConfig.variable.site.site_name,
domain: commonEnvConfig.variable.site.site_domain,
mailTicketService: true,
mailTicketService: commonEnvConfig.variable.settings.mailTicketService || false,
showDemoWarningPopup: true,
cronTimeZone: 'Asia/Shanghai',
showDebugLog: commonEnvConfig.variable.settings.console_debug_info || true