summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a762fc7)
raw | patch | inline | side by side (parent: a762fc7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Oct 2007 09:00:27 +0000 (09:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Oct 2007 09:00:27 +0000 (09:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7502 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_config.inc | patch | blob | history |
index 9e4339de70665980af724772df30c415ed2cafdd..dbf8e979061a364d28ccb636674a960457de3d4b 100644 (file)
--- a/include/class_config.inc
+++ b/include/class_config.inc
$ldap->search ("(objectClass=goImapServer)");
$this->data['SERVERS']['IMAP']= array();
- error_reporting(0);
+ $old_err = error_reporting(0);
while ($attrs= $ldap->fetch()){
$name= $attrs['goImapName'][0];
$this->data['SERVERS']['IMAP'][$name]= array( "connect" => $attrs['goImapConnect'][0],
"sieve_server" => $attrs['goImapSieveServer'][0],
"sieve_port" => $attrs['goImapSievePort'][0]);
}
- error_reporting(E_ALL | E_STRICT);
+ error_reporting($old_err);
/* Get kerberos server. FIXME: only one is supported currently */
$ldap->cd ($this->current['BASE']);