12 lines
272 B
PHP
12 lines
272 B
PHP
|
<?php
|
||
|
// Marcel Kapfer (mmk2410) / Wilson O'Sullivan
|
||
|
// License: MIT License
|
||
|
// SSL Verification
|
||
|
|
||
|
if ($settings["rcc"]["debug"] != "on") {
|
||
|
if (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != "on") {
|
||
|
header('HTTP/1.1 400 Bad Request');
|
||
|
exit();
|
||
|
}
|
||
|
}
|