X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=html%2Fgetbin.php;h=daa16de6eb6cfb62aea7b6bd3a2f7475f725d965;hb=a53bfa2dc9c8bb54885868b8d7966a629f4a60c1;hp=3040535f6c7e94ae2653a1614b9b1af048cdda61;hpb=38b7cea478b018a7f4dd8e24f0feeba9355ea80f;p=gosa.git diff --git a/html/getbin.php b/html/getbin.php index 3040535f6..daa16de6e 100644 --- a/html/getbin.php +++ b/html/getbin.php @@ -26,8 +26,8 @@ session_start (); /* Logged in? Simple security check */ if (!isset($_SESSION['ui'])){ - gosa_log ("Error: getbin.php called without session"); - header ("Location: ../index.php"); + new log("security","unknown","",array(),"Error: getbin.php called without session") ; + header ("Location: index.php"); exit; } @@ -45,7 +45,7 @@ if (isset($_SESSION['binaryfile'])) { } echo $_SESSION['binary']; -error_reporting (E_ALL); +error_reporting (E_ALL | E_STRICT); // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>