provide more descriptive reason for failure

This commit is contained in:
Adam Outler
2025-09-15 15:59:40 -04:00
committed by GitHub
parent aee93c0e24
commit a478ab69e6

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);