From 78e6abf46ca89aed3b8b8bb0bf7df88e0460deb0 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 18 Sep 2009 08:45:26 +0000 Subject: [PATCH] Updated defaults git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14292 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_config.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- 2.30.2