X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=src%2FCore%2FInstaller.php;h=15bcb76f4921f1e10103176d9f4c0721b521598c;hb=88b5fa063a0201451e905d9f74faa7cf69998aa4;hp=0169f7292b18758d96b1894e53b9536ca7f77b36;hpb=acaee626f5f23f4c1dc19c31896a0797a251b58f;p=friendica.git diff --git a/src/Core/Installer.php b/src/Core/Installer.php index 0169f7292b..15bcb76f49 100644 --- a/src/Core/Installer.php +++ b/src/Core/Installer.php @@ -266,7 +266,7 @@ class Installer if ($passed2) { $str = Strings::getRandomName(8); - $cmd = "$phppath util/testargs.php $str"; + $cmd = "$phppath bin/testargs.php $str"; $result = trim(shell_exec($cmd)); $passed3 = $result == $str; $help = ""; @@ -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; }