]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Installer.php
Check the readability before acessing /proc/loadavg
[friendica.git] / src / Core / Installer.php
index ff759c9febe10d25dfd316c7410c89d9acfe99d2..9a9bdfb5f79f0cc5f72e7ecf547ba012bec45729 100644 (file)
@@ -486,6 +486,13 @@ class Installer
                );
                $returnVal = $returnVal ? $status : false;
 
+               $status = $this->checkFunction('gmp_strval',
+                       DI::l10n()->t('GNU Multiple Precision PHP module'),
+                       DI::l10n()->t('Error: GNU Multiple Precision PHP module required but not installed.'),
+                       true
+               );
+               $returnVal = $returnVal ? $status : false;
+
                return $returnVal;
        }