gunnar: server/patches/horde-webmail/1.2.0/tg t_pear_HK_GW_AddNetIMAP.diff, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Fri Mar 13 07:59:19 CET 2009
Author: gunnar
Update of /kolabrepository/server/patches/horde-webmail/1.2.0/tg
In directory doto:/tmp/cvs-serv17295
Added Files:
t_pear_HK_GW_AddNetIMAP.diff
Log Message:
This adds the PEAR Net_IMAP library into the pear library directory within the kolab-webclient directory. This library is not necessary for the Kolab installation of the kolab-webclient as this one uses a PHP patched for Kolab. But when installing the kolab-webclient on a machine with unpatched PHP the fact that this library is missing leads to a very unhelpful white screen with no error message in the log.
--- NEW FILE: t_pear_HK_GW_AddNetIMAP.diff ---
From: Gunnar Wrobel <p at rdus.de>
Subject: [PATCH] t/pear/HK/GW/AddNetIMAP
Adds the PEAR Net_IMAP library in case the user does not have a PHP patched for Kolab.
Signed-off-by: Gunnar Wrobel <p at rdus.de>
---
horde-webmail/pear/Net/IMAP.php | 2981 ++++++++++++++++++++++++
horde-webmail/pear/Net/IMAPProtocol.php | 3797 +++++++++++++++++++++++++++++++
2 files changed, 6778 insertions(+), 0 deletions(-)
diff --git a/horde-webmail/pear/Net/IMAP.php b/horde-webmail/pear/Net/IMAP.php
new file mode 100644
index 0000000..491b63f
--- /dev/null
+++ b/horde-webmail/pear/Net/IMAP.php
@@ -0,0 +1,2981 @@
+<?php
[...6765 lines suppressed...]
+ if (extension_loaded('mbstring')) {
+ if ($length !== false) {
+ return mb_substr($string, $start, $length, 'latin1');
+ } else {
+ $strlen = mb_strlen($string, 'latin1');
+ return mb_substr($string, $start, $strlen, 'latin1');
+ }
+ } else {
+ if ($length !== false) {
+ return substr($string, $start, $length);
+ } else {
+ return substr($string, $start);
+ }
+ }
+ }
+
+}//Class
+?>
--
tg: (a632bbd..) t/pear/HK/GW/AddNetIMAP (depends on: t/Kolab_Server/HK/GW/FixBodyHeaderBreakInTestDriver)
More information about the commits
mailing list