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