summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 173693f)
raw | patch | inline | side by side (parent: 173693f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Jul 2005 05:23:36 +0000 (05:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Jul 2005 05:23:36 +0000 (05:23 +0000) |
html/index.php | patch | blob | history | |
include/functions_setup.inc | patch | blob | history |
diff --git a/html/index.php b/html/index.php
index 7df5f64f817828dfc4f55749fb25f8c5371ca532..1adcf42ff6d6ed1f65fde5541d1da1bcce127f30 100644 (file)
--- a/html/index.php
+++ b/html/index.php
echo $_SESSION['errors'];
exit();
}else{
- $str = (schema_check($config->current['SERVER'],$config->current['ADMIN'],$config->current['PASSWORD']));
+ $str = (schema_check($config->current['SERVER'],$config->current['ADMIN'],$config->current['PASSWORD'],0,TRUE));
$checkarr = array();
foreach($str as $tr){
if(isset($tr['needonstartup'])){
index 39f8d3eafdcc246969b9a7f78685c9af25bd008a..0b60276398880edf4a9b4f6bc33828aaeaa7f08e 100644 (file)
return(true);
}
-function schema_check($server, $admin, $password, $aff=0)
+function schema_check($server, $admin, $password, $aff=0,$CalledByIndexPhP=false)
{
global $config;
$affich['phoneaccount']['status']= true;
}
- if(($_SESSION['ldapconf']['mail_methods'][$_SESSION['ldapconf']['mail']] == "kolab")){
- if(!isset($objectclasses['kolabInetOrgPerson']))
- {
+ if(($_SESSION['ldapconf']['mail_methods'][$_SESSION['ldapconf']['mail']] == "kolab")&&(!$CalledByIndexPhP)){
+ if(!isset($objectclasses['kolabInetOrgPerson'])) {
$messages['kolab']['msg']= _("Support for Kolab disabled, no schema seems to be installed, setting mail-method to cyrus");
$affich['kolab']['msg']=$messages['kolab']['msg']."<td class=\"check\">kolab2.schema</td>";