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 = "";
);
$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;
}