mirror of
https://github.com/friendica/friendica
synced 2024-12-23 14:00:15 +00:00
Checks if JSON is enabled
This commit is contained in:
parent
6f8c9a08a1
commit
439afc89b6
1 changed files with 7 additions and 0 deletions
|
@ -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.'),
|
||||
|
|
Loading…
Reference in a new issue