summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b9b89b0)
raw | patch | inline | side by side (parent: b9b89b0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Feb 2008 09:17:21 +0000 (09:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Feb 2008 09:17:21 +0000 (09:17 +0000) |
-Kiosk profiles are detected correctly now
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9053 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9053 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/personal/environment/class_environment.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc
index fe0be1d0189676b5814ecc3a5a10bf11e00b7fde..01df57a8bc608be848ac807003cfde2a9cf3ebec 100644 (file)
$this->gotoAvailableShares= $config->getShareList(false);
$this->update_kiosk_profiles();
-
- $this->gotoKioskProfile= preg_replace("/^.*\//i","",$this->gotoKioskProfile);
}
$cnt = 0;
while($attrs = $ldap->fetch()){
for($i = 0 ; $i < $attrs['gotoKioskProfile']['count'] ; $i ++){
- $name = preg_replace("/^.*kiosk\//","",$attrs['gotoKioskProfile'][$i]);
+ $name = preg_replace("/^.*\//","",$attrs['gotoKioskProfile'][$i]);
$tmp1[$attrs['cn'][0]][] = $name;
}
$tmp2[$attrs['cn'][0]]= $attrs['cn'][0];
$this->gotoKioskProfile_Server = key($this->gotoKioskProfiles['SERVERS']);
$error = true;
}
+
if(!in_array($this->gotoKioskProfile_Profile, $this->gotoKioskProfiles['BY_SERVER'][$this->gotoKioskProfile_Server])){
$this->gotoKioskProfile_Profile = $this->gotoKioskProfiles['BY_SERVER'][$this->gotoKioskProfile_Server][0];
$error = true;