projects
/
mw_thumbs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54839c8
)
fonction mw_thumbs_activated dans data
mw_thumbs.0.2
author
dj3c1t
<dj3c1t@free.fr>
Fri, 9 May 2014 17:38:41 +0000
(19:38 +0200)
committer
dj3c1t
<dj3c1t@free.fr>
Fri, 9 May 2014 17:38:41 +0000
(19:38 +0200)
app/data/modules/share/mw_data_thumbs.php
patch
|
blob
|
history
diff --git
a/app/data/modules/share/mw_data_thumbs.php
b/app/data/modules/share/mw_data_thumbs.php
index
4a15c60
..
15f0799
100644
(file)
--- 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);