Code

Fixed kioskProfile
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Nov 2005 10:37:25 +0000 (10:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Nov 2005 10:37:25 +0000 (10:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1937 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index 8aceb183006e972dd3cc95b96abe4b089631b8ac..b82ef8e4d030b97bf01eb739891019445244035f 100644 (file)
@@ -938,7 +938,7 @@ class environment extends plugin
         $method="http://";
       }
 
-      $str = $method.$_SERVER['SERVER_NAME']."/kiosk/";
+      $str = $method.str_replace("//","/",$_SERVER['SERVER_NAME']."/kiosk/");
       $this->attrs['gotoKioskProfile']= $str.$this->gotoKioskProfile;
     }else{
       $this->attrs['gotoKioskProfile']= array();