X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Fmain.php;h=afb381c18120c7ca5370b0fa3b70de426679c07b;hb=2cb9f597b2c95221a89ec3ae0fe3b497ca840550;hp=70432abcbbc76cae2150cab4d8d09b994f765b1c;hpb=c8414c5914194aa95defbb65418a2cfb1f70327b;p=gosa.git diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index 70432abcb..afb381c18 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -78,13 +78,6 @@ $config= session::global_get('config'); $config->check_and_reload(); $config->configRegistry->reload(); -// Validate LDAP schema if not done already -if( $config->boolValueIsTrue('core','schemaCheck') && - !$config->configRegistry->schemaCheckFinished() && - !$config->configRegistry->validateSchemata($force=FALSE,$disableIncompatiblePlugins=TRUE)){ - $config->configRegistry->displayRequirementErrors(); -} - /* Enable compressed output */ if ($config->get_cfg_value("core","sendCompressedOutput") == "true"){ ob_start("ob_gzhandler"); @@ -149,6 +142,13 @@ setlocale(LC_ALL, $lang); $GLOBALS['t_language']= $lang; $GLOBALS['t_gettext_message_dir'] = $BASE_DIR.'/locale/'; +// Validate LDAP schema if not done already +if( $config->boolValueIsTrue('core','schemaCheck') && + !$config->configRegistry->schemaCheckFinished() && + !$config->configRegistry->validateSchemata($force=FALSE,$disableIncompatiblePlugins=TRUE)){ + $config->configRegistry->displayRequirementErrors(); +} + /* Check if the config is up to date */ $config->check_config_version();