summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c8414c5)
raw | patch | inline | side by side (parent: c8414c5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2011 08:17:02 +0000 (08:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 15 Sep 2011 08:17:02 +0000 (08:17 +0000) |
- Moved schema check after the locale initialization, so we get translated messages from the schema check
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@20993 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.7@20993 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/main.php | patch | blob | history |
index 70432abcbbc76cae2150cab4d8d09b994f765b1c..afb381c18120c7ca5370b0fa3b70de426679c07b 100644 (file)
--- a/gosa-core/html/main.php
+++ b/gosa-core/html/main.php
$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");
$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();