Update requirements.php

This commit is contained in:
Luca 2024-01-06 19:37:05 +01:00
parent 34a0edd2d0
commit 54bb955759
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ foreach ($settings as $name => $values) {
} elseif ($values['type'] == 'ext') { } elseif ($values['type'] == 'ext') {
$status = extension_loaded($name); $status = extension_loaded($name);
} elseif ($values['type'] == 'function') { } elseif ($values['type'] == 'function') {
$status = is_callable($name); $status = ((function_exists($name) && is_callable($name)) ? 1: 0);
} else { } else {
$ini = str_replace(['k', 'M'], ['000', '000000'], ini_get($name)); $ini = str_replace(['k', 'M'], ['000', '000000'], ini_get($name));
$real = str_replace(['k', 'M'], ['000', '000000'], $description); $real = str_replace(['k', 'M'], ['000', '000000'], $description);