index ceabb6d9820bd8daee185d2c3f41657b65f2e6dd..4e1b4846410afdb92b1870fe269215ee7741dd03 100644 (file)
@require_once ("../include/php_setup.inc");
@require_once ("functions.inc");
error_reporting (0);
+session_cache_limiter("private");
session::start();
-session::set('errorsAlreadyPosted',array());
+session::global_set('errorsAlreadyPosted',array());
/* 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;
? 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'));
}