Code

Fixed kiosk profile.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Jun 2008 05:55:17 +0000 (05:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Jun 2008 05:55:17 +0000 (05:55 +0000)
-Moved cn detection upwards.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11472 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc

index 4ef9ac68eac0c67c73604a1aa46cbc275a242a4f..ac517494218d685adff71277ac7df71a19b03dbe 100644 (file)
@@ -22,10 +22,6 @@ class goKioskService extends goService{
   {
     goService::goService($config,$dn);
 
-    $this->DisplayName = _("Kiosk profile service");
-    $this->baseDir = $this->config->search('environment', 'kioskpath',array('menu','tabs'));
-    $this->server_path = preg_replace("/%cn/", $this->cn, $this->server_path);
-
     /* Get the current object name. 
      */
     if(isset($parent->parent->cn)){
@@ -35,6 +31,10 @@ class goKioskService extends goService{
     }
     $this->orig_cn = $this->cn;
 
+    $this->DisplayName = _("Kiosk profile service");
+    $this->baseDir = $this->config->search('environment', 'kioskpath',array('menu','tabs'));
+    $this->server_path = preg_replace("/%cn/", $this->cn, $this->server_path);
+
     /* Load list of profiles and check if they still exists */
     if ($this->baseDir == ""){
 #      msg_dialog::display(_("Configuration error"),