From: hickert Date: Mon, 30 Jun 2008 05:55:17 +0000 (+0000) Subject: Fixed kiosk profile. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=762ecc3c1e83f427b3f1dbe86c5b96d79611b9a4;p=gosa.git Fixed kiosk profile. -Moved cn detection upwards. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11472 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc b/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc index 4ef9ac68e..ac5174942 100644 --- a/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc +++ b/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc @@ -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"),