From 3100c4ec1179bb77c91da2f94451e9f0a5364d30 Mon Sep 17 00:00:00 2001 From: dj3c1t Date: Fri, 9 May 2014 19:38:41 +0200 Subject: [PATCH] fonction mw_thumbs_activated dans data --- app/data/modules/share/mw_data_thumbs.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/data/modules/share/mw_data_thumbs.php b/app/data/modules/share/mw_data_thumbs.php index 4a15c60..15f0799 100644 --- a/app/data/modules/share/mw_data_thumbs.php +++ b/app/data/modules/share/mw_data_thumbs.php @@ -2,6 +2,10 @@ class mw_data_thumbs extends mw_data{ + function mw_thumbs_activated(){ + return true; + } + function img_thumb($src, $max_width, $max_height, $thumbs_dir = "", $background_color = array(255, 255, 255)){ if(strlen($thumbs_dir) > 0){ if(!@is_dir($thumbs_dir)) @mkdir($thumbs_dir); -- 2.1.4