]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Installer.php
[Composer] Added missing dependency ext-openssl
[friendica.git] / src / Core / Installer.php
index 0169f7292b18758d96b1894e53b9536ca7f77b36..15bcb76f4921f1e10103176d9f4c0721b521598c 100644 (file)
@@ -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;
        }