Checks if JSON is enabled

2022.09-rc
Michael 2018-12-22 20:40:00 +00:00
rodzic 6f8c9a08a1
commit 439afc89b6
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -405,6 +405,13 @@ class Installer
);
$returnVal = $returnVal ? $status : false;
$status = $this->checkFunction('json_encode',
L10n::t('JSON PHP module'),
L10n::t('Error: JSON PHP module required but not installed.'),
true
);
$returnVal = $returnVal ? $status : false;
$status = $this->checkFunction('imagecreatefromjpeg',
L10n::t('GD graphics PHP module'),
L10n::t('Error: GD graphics PHP module with JPEG support required but not installed.'),