summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4e8ecd)
raw | patch | inline | side by side (parent: f4e8ecd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Feb 2006 06:50:13 +0000 (06:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Feb 2006 06:50:13 +0000 (06:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2708 594d385d-05f5-0310-b6e9-bd551577e9d8
html/index.php | patch | blob | history |
diff --git a/html/index.php b/html/index.php
index 43514623b2be9bb87bb675e9ff953bc0dcb75d9e..a5dfa89c48c9fcc565f08317e4020f3c1c2711f0 100644 (file)
--- a/html/index.php
+++ b/html/index.php
}
/* Check for schema file presence */
- if( ((isset($config->data['MAIN']['SCHEMA_CHECK']))&&(preg_match("/true/i",$config->data['MAIN']['SCHEMA_CHECK'])))
- ||
- (!isset($config->data['MAIN']['SCHEMA_CHECK']))){
+ if(!isset($config->data['MAIN']['SCHEMA_CHECK'])){
+ $config->data['MAIN']['SCHEMA_CHECK'] = "true";
+ }
+ if(isset($config->data['MAIN']['SCHEMA_CHECK'])&&preg_match("/true/i",$config->data['MAIN']['SCHEMA_CHECK'])){
require_once("functions_setup.inc");
if(!is_schema_readable($config->current['SERVER'],$config->current['ADMIN'],$config->current['PASSWORD'])){
print_red(_("GOsa cannot retrieve information about the installed schema files. Please make sure, that this is possible."));