Merge pull request #1742 from strikaco/admincontact

Adds STAFF_CONTACT_EMAIL setting and value to unloggedin help command
This commit is contained in:
Griatch 2018-12-02 15:59:22 +01:00 committed by GitHub
commit 54843dfa71
2 changed files with 6 additions and 0 deletions

View file

@ -276,6 +276,9 @@ Next you can connect to the game: |wconnect Anna c67jHL8p|n
You can use the |wlook|n command if you want to see the connect screen again.
"""
if settings.STAFF_CONTACT_EMAIL:
string += 'For support, please contact: %s' % settings.STAFF_CONTACT_EMAIL
self.caller.msg(string)

View file

@ -670,6 +670,9 @@ DEBUG = False
ADMINS = () # 'Your Name', 'your_email@domain.com'),)
# These guys get broken link notifications when SEND_BROKEN_LINK_EMAILS is True.
MANAGERS = ADMINS
# This is a public point of contact for players or the public to contact
# a staff member or administrator of the site. It is publicly posted.
STAFF_CONTACT_EMAIL = None
# Absolute path to the directory that holds file uploads from web apps.
# Example: "/home/media/media.lawrence.com"
MEDIA_ROOT = os.path.join(GAME_DIR, "web", "media")