summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2023-03-25 11:01:04 +0100
committerGitHub <noreply@github.com>2023-03-25 11:01:04 +0100
commite493e72ffb29e0accdf11cf06b0f9641fdb4858f (patch)
treefd993975d996216652be6c6790427c57e193027a /apps
parent36835b7fecb7dc198ab74a27262fde1d06fed1cc (diff)
parent35ea5025dd0bd69f4613c7c324687fa9af5aba9e (diff)
downloadnextcloud-server-e493e72ffb29e0accdf11cf06b0f9641fdb4858f.tar.gz
nextcloud-server-e493e72ffb29e0accdf11cf06b0f9641fdb4858f.zip
Merge pull request #37397 from nextcloud/check-exif
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/lib/Controller/CheckSetupController.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php
index a6f4d7a0d41..82a7e118d06 100644
--- a/apps/settings/lib/Controller/CheckSetupController.php
+++ b/apps/settings/lib/Controller/CheckSetupController.php
@@ -724,6 +724,12 @@ Raw output
$recommendedPHPModules[] = 'sysvsem';
}
+ if (!extension_loaded('exif')) {
+ // used to extract metadata from images
+ // required for correct orientation of preview images
+ $recommendedPHPModules[] = 'exif';
+ }
+
if (!defined('PASSWORD_ARGON2I')) {
// Installing php-sodium on >=php7.4 will provide PASSWORD_ARGON2I
// on previous version argon2 wasn't part of the "standard" extension