Check first if value exists
This commit is contained in:
parent
352095a6d2
commit
0baffcc5cf
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
// License: MIT License
|
||||
// SSL Verification
|
||||
|
||||
if ($settings["rcc"]["debug"] != "on") {
|
||||
if (isset($settings["rcc"]["debug"]) && $settings["rcc"]["debug"] != "on") {
|
||||
if (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != "on") {
|
||||
header('HTTP/1.1 400 Bad Request');
|
||||
exit();
|
||||
|
|
Reference in a new issue