X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2FgetFAIstatus.php;h=042908d8107d8863a3d335b4fe4736d7792f2221;hb=5eb351d44a10e1315cba393a894348906934e06b;hp=42d67404a46f2450f2de94550e9a6ceff20dcbcf;hpb=3cab42f378c95a0ee58ef0cb62dea7baaced83ff;p=gosa.git diff --git a/gosa-core/html/getFAIstatus.php b/gosa-core/html/getFAIstatus.php index 42d67404a..042908d81 100644 --- a/gosa-core/html/getFAIstatus.php +++ b/gosa-core/html/getFAIstatus.php @@ -24,12 +24,13 @@ @require_once ("../include/php_setup.inc"); @require_once ("functions.inc"); +session_cache_limiter("private"); session::start(); session::global_set('errorsAlreadyPosted',array()); /* Logged in? Simple security check */ if (!session::global_is_set('ui')){ - new log("security","unknown","",array(),"Error: getbin.php called without session") ; + new log("security","unknown","",array(),"Error: getFAIstatus.php called without session") ; header ("Location: index.php"); exit; } @@ -41,7 +42,7 @@ if(!isset($_GET['mac'])){ $config = session::global_get("config"); $o = new gosaSupportDaemon(); -$res = $o->get_entries_by_mac(split(",",$_GET['mac'])); +$res = $o->get_entries_by_mac(explode(",", $_GET['mac'])); foreach($res as $entry){ echo $entry['MACADDRESS']."|".$entry['PROGRESS']."\n"; }