diff --git a/html/getbin.php b/html/getbin.php
index 6ac56b437d5d2104a2a8e8e2cbabd1278f9a8318..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");
+ new log("security","unknown","",array(),"Error: getbin.php called without session") ;
header ("Location: index.php");
exit;
}
header ("Location: index.php");
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:
?>