summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be57516)
raw | patch | inline | side by side (parent: be57516)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Nov 2008 07:12:34 +0000 (07:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Nov 2008 07:12:34 +0000 (07:12 +0000) |
-Check for the "configVersion" attribute in the gosa.conf file, to ensure that we have a valid 2.6 config file and not using an old 2.5 config file..
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13020 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13020 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_config.inc | patch | blob | history |
index e52e1d235c010e165f46b3d33ef48dfc3711b2e0..e07cb6e53482fe8e59f7ff56692719f73cca4eb0 100644 (file)
'MAIN' => array(),
'MENU' => array(), 'SERVICE' => array());
var $basedir= "";
- var $config_version ="";
+ var $config_version ="NOT SET";
/* Keep a copy of the current deparment list */
var $departments= array();
/* Check contributed config version and current config version.
*/
- if($this->config_version != $current && !empty($this->config_version)){
+ if(($this->config_version == "NOT SET") || ($this->config_version != $current && !empty($this->config_version))){
msg_dialog::display(_("Configuration"),_("The configuration file you are using seems to be outdated. Please move the GOsa configuration file away to run the GOsa setup again."));
}
}