From 37e1db5b7b39b77c0e2d6da31212128689b3cdfd Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Tue, 1 Nov 2022 12:41:23 +0000 Subject: [PATCH] :skull: --- app/settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/settings.php b/app/settings.php index b203a80..364fa04 100644 --- a/app/settings.php +++ b/app/settings.php @@ -10,13 +10,13 @@ */ $user_settings = json_decode(file_get_contents(__DIR__."/../usr/conf/conf.json"), true); -if (!is_file(__DIR__."/../usr/conf/conf.json")) { +if (is_file(__DIR__."/../usr/conf/conf.json")) { $settings = json_decode(file_get_contents(__DIR__."/../usr/conf/conf.json"), true); } else { $settings = json_decode(file_get_contents(__DIR__."/../usr/conf.default.json"), true); } -if (!is_file(__DIR__."/../usr/conf/msg.json")) { +if (is_file(__DIR__."/../usr/conf/msg.json")) { $user_welcome = json_decode(file_get_contents(__DIR__."/../usr/conf/msg.json"), true); $user_welcome = $user_welcome['welcome']; } else {