From: Michael Date: Sat, 22 Dec 2018 20:40:00 +0000 (+0000) Subject: Checks if JSON is enabled X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=439afc89b6c3b075568ae4f37f1dc62b11ca7b24;p=friendica.git Checks if JSON is enabled --- diff --git a/src/Core/Installer.php b/src/Core/Installer.php index b84bcd916e..912406a298 100644 --- a/src/Core/Installer.php +++ b/src/Core/Installer.php @@ -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.'),