X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Fgetbin.php;h=55b7188fedafd27b990f2fb71d2675dcb4ca8af7;hb=bf5082df658ccc3f3ff9a22ae00e407e8bcb5a17;hp=ceabb6d9820bd8daee185d2c3f41657b65f2e6dd;hpb=c26845a09ed3142dd8805effefce01b35f7ded46;p=gosa.git diff --git a/gosa-core/html/getbin.php b/gosa-core/html/getbin.php index ceabb6d98..55b7188fe 100644 --- a/gosa-core/html/getbin.php +++ b/gosa-core/html/getbin.php @@ -25,10 +25,10 @@ @require_once ("functions.inc"); error_reporting (0); 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; @@ -43,7 +43,7 @@ $bintype = session::is_set('binarytype') ? 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')); }