Skip to content
Snippets Groups Projects
Commit f68ab2a4 authored by Florent Thiery's avatar Florent Thiery
Browse files

add PREMIUM_SUPPORT conf variable, refs #21826

parent eb8fc8ea
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ EMAIL_SMTP_PWD=
EMAIL_SENDER='support@ubicast.eu'
# separate emails with comas in EMAIL_ADMINS
EMAIL_ADMINS='sysadmin@ubicast.eu'
PREMIUM_SUPPORT='0'
# -- Wowza --
WOWZA_LIVE_PWD='test'
......
......@@ -371,6 +371,8 @@ class Tester():
if system_domain == 'monitor':
system_domain = 'Server'
system_type = '-'
if utils.get_conf('PREMIUM_SUPPORT') != '0':
system_domain = "[PREMIUM] %s" % system_domain
if not recipients:
log('No recipients defined for email sending. Set a value for EMAIL_ADMINS.')
return 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment