mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Move session.lock, Database And config.json To Config Folder
This commit is contained in:
parent
688117ec87
commit
102f63c771
@ -36,10 +36,10 @@ class Helpers:
|
|||||||
self.webroot = os.path.join(self.root_dir, 'app', 'frontend')
|
self.webroot = os.path.join(self.root_dir, 'app', 'frontend')
|
||||||
self.servers_dir = os.path.join(self.root_dir, 'servers')
|
self.servers_dir = os.path.join(self.root_dir, 'servers')
|
||||||
|
|
||||||
self.session_file = os.path.join(self.root_dir, 'session.lock')
|
self.session_file = os.path.join(self.root_dir, 'app', 'config', 'session.lock')
|
||||||
self.settings_file = os.path.join(self.root_dir, 'config.json')
|
self.settings_file = os.path.join(self.root_dir, 'app', 'config', 'config.json')
|
||||||
|
|
||||||
self.db_path = os.path.join(self.root_dir, 'crafty.sqlite')
|
self.db_path = os.path.join(self.root_dir, 'app', 'config', 'db', 'crafty.sqlite')
|
||||||
self.serverjar_cache = os.path.join(self.config_dir, 'serverjars.json')
|
self.serverjar_cache = os.path.join(self.config_dir, 'serverjars.json')
|
||||||
self.passhasher = PasswordHasher()
|
self.passhasher = PasswordHasher()
|
||||||
self.exiting = False
|
self.exiting = False
|
||||||
|
Loading…
Reference in New Issue
Block a user