partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit f70dd432002299a787b3c980f2e06657a9a56c7f
parent ce2dcc722b74a3516c689611d6cf703e0e58bbaa
Author: Felicia Hummel <felicia@drachenkatze.org>
Date:   Fri, 20 Dec 2019 19:03:51 +0100

Merge pull request #993 from Drannor-Dosalith/PartKeepr-988

Bug fix for bug 988
Diffstat:
Mapp/PartKeeprRequirements.php | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/app/PartKeeprRequirements.php b/app/PartKeeprRequirements.php @@ -59,6 +59,12 @@ class PartKeeprRequirements extends SymfonyRequirements sprintf('Please compile PHP with the mbstring functions in case you are using Gentoo, or install php-mbstring on RedHat, Fedora or CentOS.') ); + $this->addRequirement( + function_exists('bcscale'), + sprintf('BCMath library not found'), + sprintf('Install the BCMath library extension') + ); + if (ini_get('opcache.enable')) { if (version_compare(phpversion(), '7.0', '<')) { $this->addPhpIniRequirement('opcache.save_comments', 1,