Checks if JSON is enabled
This commit is contained in:
@@ -405,6 +405,13 @@ class Installer
|
|||||||
);
|
);
|
||||||
$returnVal = $returnVal ? $status : false;
|
$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',
|
$status = $this->checkFunction('imagecreatefromjpeg',
|
||||||
L10n::t('GD graphics PHP module'),
|
L10n::t('GD graphics PHP module'),
|
||||||
L10n::t('Error: GD graphics PHP module with JPEG support required but not installed.'),
|
L10n::t('Error: GD graphics PHP module with JPEG support required but not installed.'),
|
||||||
|
|||||||
Reference in New Issue
Block a user