update dependency check: add iconv
This commit is contained in:
parent
5f92233aac
commit
5b9c330f69
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
// PHP 5.3.7 minimum
|
||||
// PHP 5.3.3 minimum
|
||||
if (version_compare(PHP_VERSION, '5.3.3', '<')) {
|
||||
die('This software require PHP 5.3.3 minimum');
|
||||
}
|
||||
@ -42,11 +42,16 @@ if (! extension_loaded('pdo_sqlite')) {
|
||||
die('PHP extension required: pdo_sqlite');
|
||||
}
|
||||
|
||||
// Check extension: mbstring
|
||||
// Check extension: mbstring (simpleValidator)
|
||||
if (! extension_loaded('mbstring')) {
|
||||
die('PHP extension required: mbstring');
|
||||
}
|
||||
|
||||
// Check extension: iconv (picoFeed)
|
||||
if (! extension_loaded('iconv')) {
|
||||
die('PHP extension required: iconv');
|
||||
}
|
||||
|
||||
// Check for curl
|
||||
if (! function_exists('curl_init') && ! ini_get('allow_url_fopen')) {
|
||||
die('You must have "allow_url_fopen=On" or curl extension installed');
|
||||
|
Loading…
Reference in New Issue
Block a user