diff --git a/includes/site-upload.php b/includes/site-upload.php index f0c5999..b6f6284 100644 --- a/includes/site-upload.php +++ b/includes/site-upload.php @@ -66,7 +66,7 @@ class SiteUploadHandler { // VĂ©rifier les dimensions de l'image list($width, $height) = getimagesize($file['tmp_name']); $minWidth = 1200; - $minHeight = 600; + $minHeight = 250; if ($width < $minWidth || $height < $minHeight) { throw new Exception("L'image doit faire au moins {$minWidth}x{$minHeight} pixels"); diff --git a/version.txt b/version.txt index 8cfbc90..8428158 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.1.1 \ No newline at end of file +1.1.2 \ No newline at end of file