public attr / function, constructeurs __construct
[mtweb] / mw / app / data / modules / share / mw_data_images.php
index 48ceeee..8c59b99 100644 (file)
@@ -2,7 +2,7 @@
 
   class mw_data_images extends mw_data{
 
-    function img_size($file, $max_width, $max_height){
+    public function img_size($file, $max_width, $max_height){
       $img_infos = @getimagesize($file);
       $img_size = array();
       if($img_infos){