printing error if custom config file doesn't exit

This commit is contained in:
nadrad 2022-11-25 08:41:09 +01:00
parent 9f32fb7be6
commit 13114e8a23

2
h-m-m
View file

@ -78,6 +78,8 @@ if (file_exists($conf))
fclose($handle);
}
}
elseif (isset($mm['arguments']['config']))
die("ERROR: the custom config file ($conf) doesn't exit!\n");
// parsing the environment variables