From: cajus Date: Fri, 18 Sep 2009 08:45:26 +0000 (+0000) Subject: Updated defaults X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=78e6abf46ca89aed3b8b8bb0bf7df88e0460deb0;p=gosa.git Updated defaults git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14292 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 6dd0527b8..6c7ed8008 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -104,7 +104,6 @@ class config { function parse($filename) { - $this->data = array( "TABS" => array(), "LOCATIONS" => array(), @@ -124,6 +123,11 @@ class config { msg_dialog::display(_("Configuration error"), $msg, FATAL_ERROR_DIALOG); exit; } + + // Default schemacheck to "true" + if(!isset($this->data['MAIN']['SCHEMACHECK'])){ + $this->data['MAIN']['SCHEMACHECK'] = "true"; + } } function tag_open($parser, $tag, $attrs)