diff options
author | Varun Patil <varunpatil@ucla.edu> | 2023-03-24 18:29:18 -0700 |
---|---|---|
committer | Varun Patil <varunpatil@ucla.edu> | 2023-03-24 18:30:37 -0700 |
commit | 35ea5025dd0bd69f4613c7c324687fa9af5aba9e (patch) | |
tree | 77a0823c5d2d9d03cef6150ab69f9c49b0a07f33 | |
parent | c3a39cbc75585243e286c0e99b245373055e114d (diff) | |
download | nextcloud-server-35ea5025dd0bd69f4613c7c324687fa9af5aba9e.tar.gz nextcloud-server-35ea5025dd0bd69f4613c7c324687fa9af5aba9e.zip |
check-setup: recommend exif extension
JPEG previews are not correctly oriented when exif is not enabled
along with other issues. There's no easy way to discover this either.
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
-rw-r--r-- | apps/settings/lib/Controller/CheckSetupController.php | 6 |
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 |