Merge pull request #1742 from strikaco/admincontact
Adds STAFF_CONTACT_EMAIL setting and value to unloggedin help command
This commit is contained in:
commit
54843dfa71
2 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
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)
|
self.caller.msg(string)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -670,6 +670,9 @@ DEBUG = False
|
||||||
ADMINS = () # 'Your Name', 'your_email@domain.com'),)
|
ADMINS = () # 'Your Name', 'your_email@domain.com'),)
|
||||||
# These guys get broken link notifications when SEND_BROKEN_LINK_EMAILS is True.
|
# These guys get broken link notifications when SEND_BROKEN_LINK_EMAILS is True.
|
||||||
MANAGERS = ADMINS
|
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.
|
# Absolute path to the directory that holds file uploads from web apps.
|
||||||
# Example: "/home/media/media.lawrence.com"
|
# Example: "/home/media/media.lawrence.com"
|
||||||
MEDIA_ROOT = os.path.join(GAME_DIR, "web", "media")
|
MEDIA_ROOT = os.path.join(GAME_DIR, "web", "media")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue