From e18d04468edc17280b52440897f72434440fa07a Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 27 Feb 2008 08:46:24 -0500
Subject: [PATCH] Add checks for GD and Mcrypt

---
 installer/check.php |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/installer/check.php b/installer/check.php
index 06eae42..fdab9f5 100644
--- a/installer/check.php
+++ b/installer/check.php
@@ -3,7 +3,8 @@
 
 $required_php_exts = array('PCRE' => 'pcre', 'Session' => 'session', 'Sockets' => 'sockets');
 
-$optional_php_exts = array('FileInfo' => 'fileinfo', 'Libiconv' => 'iconv', 'Multibyte' => 'mbstring', 'OpenSSL' => 'openssl');
+$optional_php_exts = array('FileInfo' => 'fileinfo', 'Libiconv' => 'iconv',
+    'Multibyte' => 'mbstring', 'OpenSSL' => 'openssl', 'Mcrypt' => 'mcrypt', 'GD' => 'gd');
 
 $required_libs = array('PEAR' => 'PEAR.php', 'DB' => 'DB.php', 'MDB2' => 'MDB2.php',
     'Net_SMTP' => 'Net/SMTP.php', 'Mail_mime' => 'Mail/mime.php', 'iilConnection' => 'lib/imap.inc');
@@ -22,7 +23,9 @@
     'FileInfo' => 'http://www.php.net/manual/en/ref.fileinfo.php',
     'Libiconv' => 'http://www.php.net/manual/en/ref.iconv.php',
     'Multibyte' => 'http://www.php.net/manual/en/ref.mbstring.php',
+    'Mcrypt' => 'http://www.php.net/manual/en/ref.mcrypt.php',
     'OpenSSL' => 'http://www.php.net/manual/en/ref.openssl.php',
+    'GD' => 'http://www.php.net/manual/en/ref.image.php',
     'PEAR' => 'http://pear.php.net',
     'MDB2' => 'http://pear.php.net/package/MDB2',
     'Net_SMTP' => 'http://pear.php.net/package/Net_SMTP',

--
Gitblit v1.9.1