From a9261ca028eabfba0a43099fb845594248d23396 Mon Sep 17 00:00:00 2001 From: till Date: Thu, 21 Feb 2008 20:57:21 +0000 Subject: * added GD to the optional libs (quota image) - Thanks lancey! --- check.php-dist | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/check.php-dist b/check.php-dist index f308cc3da..0cc9a000e 100644 --- a/check.php-dist +++ b/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 '(See ' . $source_urls[$key] . ')'; + if ($source_urls[$key]) { + echo '(See '; + echo $source_urls[$key] . ')'; + } } ?> -- cgit v1.2.3