Moving the port configuration to the settings.py file and out of the database.
This commit is contained in:
parent
7d869dff18
commit
2e6d4f5a00
2 changed files with 7 additions and 4 deletions
|
|
@ -38,7 +38,7 @@ class EvenniaService(service.Service):
|
|||
print '-'*50
|
||||
# Load command aliases into memory for easy/quick access.
|
||||
self.load_cmd_aliases()
|
||||
self.port = gameconf.get_configvalue('site_port')
|
||||
self.port = settings.GAMEPORT
|
||||
|
||||
if gameconf.get_configvalue('game_firstrun') == '1':
|
||||
print ' Game started for the first time, setting defaults.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue