diff --git a/html/getbin.php b/html/getbin.php
index 3040535f6c7e94ae2653a1614b9b1af048cdda61..daa16de6eb6cfb62aea7b6bd3a2f7475f725d965 100644 (file)
--- a/html/getbin.php
+++ b/html/getbin.php
/* Logged in? Simple security check */
if (!isset($_SESSION['ui'])){
/* 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;
}
exit;
}
}
echo $_SESSION['binary'];
}
echo $_SESSION['binary'];
-error_reporting (E_ALL);
+error_reporting (E_ALL | E_STRICT);
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>