mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
provide more descriptive reason for failure
This commit is contained in:
@@ -48,7 +48,7 @@ if (!empty($_REQUEST['action']) && $_REQUEST['action'] == 'logout') {
|
|||||||
|
|
||||||
// Load configuration
|
// Load configuration
|
||||||
if (!file_exists(CONFIG_PATH)) {
|
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);
|
$configLines = file(CONFIG_PATH);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user