Commit a484b98d authored by Nico Schallehn's avatar Nico Schallehn

test

parent 479fbd33
......@@ -25,7 +25,7 @@ if(isset($_SESSION['api-key']) OR (isset($_COOKIE['api-key']) AND isset($_COOKIE
}
if((md5($_SERVER['HTTP_USER_AGENT'].$_SERVER['REMOTE_ADDR']) == $_COOKIE['api-secret']) AND isset($_SESSION['api-key'])){
$_SESSION['api-key'] = $_COOKIE['api-key'];
$ErrorBox = '<div class="alert alert-danger">' . PHP_EOL .
$ErrorBox .= '<div class="alert alert-danger">' . PHP_EOL .
'<strong>Fehler !</strong> ich leite dich weiter!! ' . PHP_EOL .
'</div>' . PHP_EOL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment