Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Manish Verma committed Jul 14, 2016
1 parent cdbee90 commit f145245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions step1.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function validate_extensions(&$results)
{
$ok = true;

$required_extensions = ['mysqli', 'tokenizer', 'imap', 'curl', 'mcrypt', 'mbstring', 'openssl'];
$required_extensions = ['mysqli', 'tokenizer', 'imap', 'curl', 'mcrypt', 'mbstring', 'openssl', 'fileinfo'];

foreach ($required_extensions as $required_extension) {
if (extension_loaded($required_extension)) {
Expand All @@ -174,7 +174,7 @@ function validate_extensions(&$results)
//'imap' => 'IMAP is used to connect to POP3 and IMAP servers. Without it, Incoming Mail module will not work. Please refer to <a href="http://www.php.net/manual/en/imap.installation.php">this</a> page for installation instructions',
// 'zlib' => 'ZLIB is used to read and write gzip (.gz) compressed files',
// SVN extension ommited, to avoid confusion
'fileinfo' => '\'fileinfo\' extension is used to check the mime type of the files uploaded by users on the server. This helps server to validate the file extension before saving them on the server. Please enable it to upload Faveo\'s plugins and packages.',
// 'fileinfo' => '\'fileinfo\' extension is used to check the mime type of the files uploaded by users on the server. This helps server to validate the file extension before saving them on the server. Please enable it to upload Faveo\'s plugins and packages.',
];
foreach ($recommended_extensions as $recommended_extension => $recommended_extension_desc) {
if (extension_loaded($recommended_extension)) {
Expand Down

0 comments on commit f145245

Please sign in to comment.