summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f47171d)
raw | patch | inline | side by side (parent: f47171d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 10:29:04 +0000 (10:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 10:29:04 +0000 (10:29 +0000) |
html/index.php | patch | blob | history |
diff --git a/html/index.php b/html/index.php
index 17efc37de0ab93edd301916a234d6253d97ebe38..c2ce1dc0f85f9620b6e08e83a94b529f5ceaa458 100644 (file)
--- a/html/index.php
+++ b/html/index.php
print_red(_("GOsa cannot retrieve information about the installed schema files. Please make sure, that this is possible."));
echo $_SESSION['errors'];
exit();
+ }else{
+ require_once("functions_setup.inc");
+ $str = (schema_check($config->current['SERVER'],$config->current['ADMIN'],$config->current['PASSWORD']));
+ $checkarr = array();
+ foreach($str as $tr){
+ if(isset($tr['needonstartup'])){
+ print_red(_("Your Schema files are not at actual version, please move your gosa.conf and run Setup again, to check this."));
+ print $_SESSION['errors'];
+ exit();
+ }
+ }
}
+
/* Check for locking area */
$ldap->cat($config->current['CONFIG']);
$attrs= $ldap->fetch();