mirror of
https://github.com/friendica/friendica
synced 2025-04-26 18:30:11 +00:00
Merge pull request #6312 from annando/check-json
Checks if JSON is enabled
This commit is contained in:
commit
a16e8d97f6
2 changed files with 22 additions and 1 deletions
|
@ -440,6 +440,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;
|
||||
|
||||
return $returnVal;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue