Merge pull request #1177 from adamoutler/patch-2

provide more descriptive reason for failure
This commit is contained in:
Jokob @NetAlertX authored and GitHub committed 2025-09-16 06:37:44 +10:00
commit e492ba27a4
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ if (!empty($_REQUEST['action']) && $_REQUEST['action'] == 'logout') {
// Load configuration
if (!file_exists(CONFIG_PATH)) {
die("Configuration file not found.");
die("Configuration file not found in " . $_SERVER['DOCUMENT_ROOT'] . "/../config/app.conf");
}
$configLines = file(CONFIG_PATH);