Commit e3e41e0c by ichuang

dev_ike: MITX_ROOT_URL set based on hostname

parent 066dcfab
...@@ -8,13 +8,17 @@ sessions. Assumes structure: ...@@ -8,13 +8,17 @@ sessions. Assumes structure:
/log # Where we're going to write log files /log # Where we're going to write log files
""" """
MITX_ROOT_URL = '/mitx2' import socket
if 'eecs1' in socket.gethostname():
MITX_ROOT_URL = '/mitx2'
from envs.common import * from envs.common import *
from envs.logsettings import get_logger_config from envs.logsettings import get_logger_config
from dev import * from dev import *
MITX_ROOT_URL = '/mitx2' if 'eecs1' in socket.gethostname():
MITX_ROOT_URL = '/mitx2'
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# ichuang # ichuang
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment