From a9261ca028eabfba0a43099fb845594248d23396 Mon Sep 17 00:00:00 2001 From: till <till@php.net> Date: Thu, 21 Feb 2008 15:57:21 -0500 Subject: [PATCH] * added GD to the optional libs (quota image) - Thanks lancey! --- check.php-dist | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/check.php-dist b/check.php-dist index f308cc3..0cc9a00 100644 --- a/check.php-dist +++ b/check.php-dist @@ -78,14 +78,17 @@ '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 @@ 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>'; + } } ?> -- Gitblit v1.9.1