index ceabb6d9820bd8daee185d2c3f41657b65f2e6dd..55b7188fedafd27b990f2fb71d2675dcb4ca8af7 100644 (file)
@require_once ("functions.inc");
error_reporting (0);
session::start();
@require_once ("functions.inc");
error_reporting (0);
session::start();
-session::set('errorsAlreadyPosted',array());
+session::global_set('errorsAlreadyPosted',array());
/* Logged in? Simple security check */
/* Logged in? Simple security check */
-if (!session::is_set('ui')){
+if (!session::global_is_set('ui')){
new log("security","unknown","",array(),"Error: getbin.php called without session") ;
header ("Location: index.php");
exit;
new log("security","unknown","",array(),"Error: getbin.php called without session") ;
header ("Location: index.php");
exit;
? session::get('binarytype') : "octet-stream";
header("Content-type: " . $bintype);
if (session::is_set('binaryfile')) {
? session::get('binarytype') : "octet-stream";
header("Content-type: " . $bintype);
if (session::is_set('binaryfile')) {
- header( "Content-disposition: attachment; filename="
+ header( "Content-disposition: attachment; filename="
. session::get('binaryfile'));
}
. session::get('binaryfile'));
}