Code

Added gosa_version to configuration file - To detect out dated gosa.conf -> later
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Apr 2008 08:06:35 +0000 (08:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Apr 2008 08:06:35 +0000 (08:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10345 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/contrib/gosa.conf
gosa-core/setup/class_setupStep_Finish.inc

index 1b04a164557f9d5b2ed1dce8622916c45eb8b1ce..6f5c5e9ab24f780a50a41d778efe44d829fd7560 100644 (file)
@@ -1,5 +1,6 @@
 {literal}<?xml version="1.0"?>{/literal}
 <conf>
+       <config_version>{$get_gosa_version}</config_version>
        <menu>
                <section name="My account">
                        <plugin acl="users/generic" class="user" icon="personal.png"
index 2d64638dcac59f939bf0f4794b51d5dc2893b35b..bb69bce6c7c370ecbf0f61787b60bae0fa02fd22 100644 (file)
@@ -44,6 +44,7 @@ class Step_Finish extends setup_step
   {
     $smarty = get_smarty();
     $smarty->assign("cv",xmlentities($this->parent->captured_values));
+    $smarty->assign("get_gosa_version",get_gosa_version());
     $str =  $smarty->fetch(CONFIG_TEMPLATE_DIR.$this->gosa_conf_contrib);
     return($str);
   }