summaryrefslogtreecommitdiff
path: root/check.php-dist
diff options
context:
space:
mode:
authortill <till@php.net>2008-02-21 20:57:21 +0000
committertill <till@php.net>2008-02-21 20:57:21 +0000
commita9261ca028eabfba0a43099fb845594248d23396 (patch)
tree0b4c65086b34ae5ca2f4aea5370dbea39bb7ca6e /check.php-dist
parent0f675bc25943d4c6931676f369abfd1b9966e000 (diff)
* added GD to the optional libs (quota image) - Thanks lancey!
Diffstat (limited to 'check.php-dist')
-rw-r--r--check.php-dist15
1 files 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 '<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>';
+ }
}
?>