From: dj3c1t Date: Fri, 9 May 2014 17:38:41 +0000 (+0200) Subject: fonction mw_thumbs_activated dans data X-Git-Tag: mw_thumbs.0.2 X-Git-Url: http://git.dj3c1t.com/?p=mw_thumbs;a=commitdiff_plain;h=3100c4ec1179bb77c91da2f94451e9f0a5364d30 fonction mw_thumbs_activated dans data --- 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);