diff --git a/app/classes/shared/helpers.py b/app/classes/shared/helpers.py index 89b7ad5d..f2ea0d1b 100644 --- a/app/classes/shared/helpers.py +++ b/app/classes/shared/helpers.py @@ -36,10 +36,10 @@ class Helpers: self.webroot = os.path.join(self.root_dir, 'app', 'frontend') self.servers_dir = os.path.join(self.root_dir, 'servers') - self.session_file = os.path.join(self.root_dir, 'session.lock') - self.settings_file = os.path.join(self.root_dir, 'config.json') + self.session_file = os.path.join(self.root_dir, 'app', 'config', 'session.lock') + 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.passhasher = PasswordHasher() self.exiting = False diff --git a/config.json b/app/config/config.json similarity index 100% rename from config.json rename to app/config/config.json diff --git a/default.json.example b/app/config/default.json.example similarity index 100% rename from default.json.example rename to app/config/default.json.example