mirror of https://github.com/jumpserver/jumpserver
修改名称
parent
e66b1b4192
commit
d7b2631410
|
@ -15,7 +15,7 @@ import ConfigParser
|
|||
config = ConfigParser.ConfigParser()
|
||||
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||
config.read(os.path.join(BASE_DIR, 'jump.conf'))
|
||||
config.read(os.path.join(BASE_DIR, 'jumpserver.conf'))
|
||||
|
||||
DB_HOST = config.get('db', 'host')
|
||||
DB_PORT = config.getint('db', 'port')
|
||||
|
|
Loading…
Reference in New Issue