From 59c216f3cceaf403ca0a678821eb219b6c41e6ff Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 26 Mar 2010 21:03:22 +0000 Subject: - Fix bugs on unexpected IMAP connection close (#1486190, #1486270) - Iloha's imap.inc rewritten into rcube_imap_generic class - rcube_imap code re-formatting --- installer/check.php | 48 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 13 deletions(-) (limited to 'installer/check.php') diff --git a/installer/check.php b/installer/check.php index e75c814d0..173924673 100644 --- a/installer/check.php +++ b/installer/check.php @@ -1,25 +1,47 @@
'pcre', 'DOM' => 'dom', - 'Session' => 'session', 'XML' => 'xml', 'JSON' => 'json'); +$required_php_exts = array( + 'PCRE' => 'pcre', + 'DOM' => 'dom', + 'Session' => 'session', + 'XML' => 'xml', + 'JSON' => 'json' +); -$optional_php_exts = array('FileInfo' => 'fileinfo', 'Libiconv' => 'iconv', - 'Multibyte' => 'mbstring', 'OpenSSL' => 'openssl', 'Mcrypt' => 'mcrypt', +$optional_php_exts = array( + 'FileInfo' => 'fileinfo', + 'Libiconv' => 'iconv', + 'Multibyte' => 'mbstring', + 'OpenSSL' => 'openssl', + 'Mcrypt' => 'mcrypt', ); -$required_libs = array('PEAR' => 'PEAR.php', 'MDB2' => 'MDB2.php', - 'Net_SMTP' => 'Net/SMTP.php', 'Mail_mime' => 'Mail/mime.php', - 'iilConnection' => 'lib/imap.inc'); +$required_libs = array( + 'PEAR' => 'PEAR.php', + 'MDB2' => 'MDB2.php', + 'Net_SMTP' => 'Net/SMTP.php', + 'Mail_mime' => 'Mail/mime.php', +); -$supported_dbs = array('MySQL' => 'mysql', 'MySQLi' => 'mysqli', - 'PostgreSQL' => 'pgsql', 'SQLite (v2)' => 'sqlite'); +$supported_dbs = array( + 'MySQL' => 'mysql', + 'MySQLi' => 'mysqli', + 'PostgreSQL' => 'pgsql', + 'SQLite (v2)' => 'sqlite', +); -$ini_checks = array('file_uploads' => 1, 'session.auto_start' => 0, - 'zend.ze1_compatibility_mode' => 0, 'mbstring.func_overload' => 0, - 'suhosin.session.encrypt' => 0); +$ini_checks = array( + 'file_uploads' => 1, + 'session.auto_start' => 0, + 'zend.ze1_compatibility_mode' => 0, + 'mbstring.func_overload' => 0, + 'suhosin.session.encrypt' => 0, +); -$optional_checks = array('date.timezone' => '-NOTEMPTY-'); +$optional_checks = array( + 'date.timezone' => '-NOTEMPTY-', +); $source_urls = array( 'Sockets' => 'http://www.php.net/manual/en/book.sockets.php', -- cgit v1.2.3