Browse Source
Show setup check for recommended php modules
Fixes #20393
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
pull/20421/head
Roeland Jago Douma
6 years ago
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with
8 additions and
0 deletions
-
apps/settings/lib/Controller/CheckSetupController.php
|
|
|
@ -584,6 +584,14 @@ Raw output |
|
|
|
$recommendedPHPModules[] = 'intl'; |
|
|
|
} |
|
|
|
|
|
|
|
if (!extension_loaded('bcmath')) { |
|
|
|
$recommendedPHPModules[] = 'bcmath'; |
|
|
|
} |
|
|
|
|
|
|
|
if (!extension_loaded('gmp')) { |
|
|
|
$recommendedPHPModules[] = 'gmp'; |
|
|
|
} |
|
|
|
|
|
|
|
if ($this->config->getAppValue('theming', 'enabled', 'no') === 'yes') { |
|
|
|
if (!extension_loaded('imagick')) { |
|
|
|
$recommendedPHPModules[] = 'imagick'; |
|
|
|
|