From: hickert Date: Thu, 1 Sep 2005 13:11:48 +0000 (+0000) Subject: gotoShares are base64 coded now X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da48f9b4e47d21ab3d3ad93a000da32d89126bf7;p=gosa.git gotoShares are base64 coded now git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1289 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 7c80034ec..64b31c7bf 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -141,7 +141,7 @@ class environment extends plugin $tmp = $tmp2 = array(); $tmp = split("\|",$share); $tmp2['name'] =$tmp[0]; - $tmp2['mountPoint']=$tmp[1]; + $tmp2['mountPoint']=base64_decode($tmp[1]); $this->gotoShares[$tmp[0]]=$tmp2; } } @@ -821,7 +821,7 @@ class environment extends plugin /* Prepare Shares */ $this->attrs['gotoShare']=array(); foreach($this->gotoShares as $name => $share){ - $this->attrs['gotoShare'][] = $share['name']."|".$share['mountPoint']; + $this->attrs['gotoShare'][] = $share['name']."|".base64_encode($share['mountPoint']); } if(!empty($this->gotoKioskProfile)){