Code

Ported ogroups to new listing.
[gosa.git] / gosa-core / html / getbin.php
index ceabb6d9820bd8daee185d2c3f41657b65f2e6dd..55b7188fedafd27b990f2fb71d2675dcb4ca8af7 100644 (file)
 @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'));
 }