mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
count from zero...
This commit is contained in:
parent
a6845c0180
commit
5fad0cd123
1 changed files with 6 additions and 6 deletions
|
@ -433,12 +433,12 @@ function check_funcs(&$checks) {
|
||||||
$ck_funcs[4]['help'] = L10n::t('Error: mb_string PHP module required but not installed.');
|
$ck_funcs[4]['help'] = L10n::t('Error: mb_string PHP module required but not installed.');
|
||||||
}
|
}
|
||||||
if (! function_exists('iconv_strlen')) {
|
if (! function_exists('iconv_strlen')) {
|
||||||
$ck_funcs[7]['status'] = false;
|
$ck_funcs[6]['status'] = false;
|
||||||
$ck_funcs[7]['help'] = L10n::t('Error: iconv PHP module required but not installed.');
|
$ck_funcs[6]['help'] = L10n::t('Error: iconv PHP module required but not installed.');
|
||||||
}
|
}
|
||||||
if (! function_exists('posix_kill')) {
|
if (! function_exists('posix_kill')) {
|
||||||
$ck_funcs[8]['status'] = false;
|
$ck_funcs[7]['status'] = false;
|
||||||
$ck_funcs[0]['help'] = L10n::t('Error: POSIX PHP module required but not installed.');
|
$ck_funcs[7]['help'] = L10n::t('Error: POSIX PHP module required but not installed.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$checks = array_merge($checks, $ck_funcs);
|
$checks = array_merge($checks, $ck_funcs);
|
||||||
|
@ -447,8 +447,8 @@ function check_funcs(&$checks) {
|
||||||
try {
|
try {
|
||||||
$xml = new DOMDocument();
|
$xml = new DOMDocument();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$ck_funcs[6]['status'] = false;
|
$ck_funcs[5]['status'] = false;
|
||||||
$ck_funcs[6]['help'] = L10n::t('Error, XML PHP module required but not installed.');
|
$ck_funcs[5]['help'] = L10n::t('Error, XML PHP module required but not installed.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue