diff options
Diffstat (limited to 'installer')
-rw-r--r-- | installer/check.php | 48 |
1 files changed, 35 insertions, 13 deletions
diff --git a/installer/check.php b/installer/check.php index e75c814d0..173924673 100644 --- a/installer/check.php +++ b/installer/check.php @@ -1,25 +1,47 @@ <form action="index.php" method="get"> <?php -$required_php_exts = array('PCRE' => 'pcre', 'DOM' => 'dom', - 'Session' => 'session', 'XML' => 'xml', 'JSON' => 'json'); +$required_php_exts = array( + 'PCRE' => 'pcre', + 'DOM' => 'dom', + 'Session' => 'session', + 'XML' => 'xml', + 'JSON' => 'json' +); -$optional_php_exts = array('FileInfo' => 'fileinfo', 'Libiconv' => 'iconv', - 'Multibyte' => 'mbstring', 'OpenSSL' => 'openssl', 'Mcrypt' => 'mcrypt', +$optional_php_exts = array( + 'FileInfo' => 'fileinfo', + 'Libiconv' => 'iconv', + 'Multibyte' => 'mbstring', + 'OpenSSL' => 'openssl', + 'Mcrypt' => 'mcrypt', ); -$required_libs = array('PEAR' => 'PEAR.php', 'MDB2' => 'MDB2.php', - 'Net_SMTP' => 'Net/SMTP.php', 'Mail_mime' => 'Mail/mime.php', - 'iilConnection' => 'lib/imap.inc'); +$required_libs = array( + 'PEAR' => 'PEAR.php', + 'MDB2' => 'MDB2.php', + 'Net_SMTP' => 'Net/SMTP.php', + 'Mail_mime' => 'Mail/mime.php', +); -$supported_dbs = array('MySQL' => 'mysql', 'MySQLi' => 'mysqli', - 'PostgreSQL' => 'pgsql', 'SQLite (v2)' => 'sqlite'); +$supported_dbs = array( + 'MySQL' => 'mysql', + 'MySQLi' => 'mysqli', + 'PostgreSQL' => 'pgsql', + 'SQLite (v2)' => 'sqlite', +); -$ini_checks = array('file_uploads' => 1, 'session.auto_start' => 0, - 'zend.ze1_compatibility_mode' => 0, 'mbstring.func_overload' => 0, - 'suhosin.session.encrypt' => 0); +$ini_checks = array( + 'file_uploads' => 1, + 'session.auto_start' => 0, + 'zend.ze1_compatibility_mode' => 0, + 'mbstring.func_overload' => 0, + 'suhosin.session.encrypt' => 0, +); -$optional_checks = array('date.timezone' => '-NOTEMPTY-'); +$optional_checks = array( + 'date.timezone' => '-NOTEMPTY-', +); $source_urls = array( 'Sockets' => 'http://www.php.net/manual/en/book.sockets.php', |