summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-21 20:57:21 +0000
committertill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-21 20:57:21 +0000
commit35c6d201f2353a2d54124ab9f491185c5dbedb5e (patch)
treef19f6c9f47af9b930bed3f0998e4715486f16c1c
parentddcc06b4e74c9aedbfb457a8f0d7ff06b1a00254 (diff)
* added GD to the optional libs (quota image) - Thanks lancey!
git-svn-id: https://svn.roundcube.net/trunk@1132 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/check.php-dist15
1 files changed, 10 insertions, 5 deletions
diff --git a/roundcubemail/check.php-dist b/roundcubemail/check.php-dist
index f308cc3da..0cc9a000e 100644
--- a/roundcubemail/check.php-dist
+++ b/roundcubemail/check.php-dist
@@ -78,14 +78,17 @@ $required_libs = array('PEAR' => 'PEAR.php', 'DB' => 'DB.php',
'MDB2' => 'MDB2.php', 'iilConnection' => 'lib/imap.inc');
$supported_drivers = array('MDB2#mysql' => 'MDB2/Driver/mysql.php',
- 'MDB2#pgsql' => 'MDB2/Driver/pgsql.php', 'MDB2#sqlite' => 'MDB2/Driver/sqlite.php');
+ 'MDB2#pgsql' => 'MDB2/Driver/pgsql.php',
+ 'MDB2#sqlite' => 'MDB2/Driver/sqlite.php');
$supported_dbs = array('MySQL' => 'mysql', 'MySQLi' => 'mysqli',
'PostgreSQL' => 'pgsql', 'SQLite (v2)' => 'sqlite');
-$required_php_exts = array('Session' => 'session', 'PCRE' => 'pcre', 'Sockets' => 'sockets');
+$required_php_exts = array('Session' => 'session',
+ 'PCRE' => 'pcre', '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', 'GD' => 'gd');
$source_urls = array(
'Socket' => 'http://www.php.net/manual/en/ref.sockets.php',
@@ -108,8 +111,10 @@ require_once 'include/bugs.inc';
function show_hint($key) {
global $source_urls;
- if ($source_urls[$key])
- echo '<span class="indent">(See <a href="' . $source_urls[$key] . '">' . $source_urls[$key] . '</a>)</span>';
+ if ($source_urls[$key]) {
+ echo '<span class="indent">(See <a href="' . $source_urls[$key] . '">';
+ echo $source_urls[$key] . '</a>)</span>';
+ }
}
?>