From 8756162428ab4052c0ba2dcdcbe55e87a72d5d22 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 7 Sep 2024 08:11:24 +0200 Subject: [PATCH] 1.12.01 default RFM thumb size --- core/core.php | 2 +- core/vendor/filemanager/UploadHandler.php | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index 9720391..45d7bca 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.12.00'; + const ZWII_VERSION = '1.12.01'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/vendor/filemanager/UploadHandler.php b/core/vendor/filemanager/UploadHandler.php index 98f8ffb..fa34494 100644 --- a/core/vendor/filemanager/UploadHandler.php +++ b/core/vendor/filemanager/UploadHandler.php @@ -1506,8 +1506,9 @@ class UploadHandler } - - $thumbResult = create_img($targetFile, $targetFileThumb, 122, 91); + $newWidth = 640; + $newHeight = 480; + $thumbResult = create_img($targetFile, $targetFileThumb, $newWidth, $newHeight); if ( $thumbResult!==true) {