projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
variable js mw_path_url dans head.php
[mtweb]
/
mw
/
app
/
data
/
modules
/
share
/
mw_data_images.php
diff --git
a/mw/app/data/modules/share/mw_data_images.php
b/mw/app/data/modules/share/mw_data_images.php
index
c540972
..
48ceeee
100644
(file)
--- a/
mw/app/data/modules/share/mw_data_images.php
+++ b/
mw/app/data/modules/share/mw_data_images.php
@@
-3,7
+3,7
@@
class mw_data_images extends mw_data{
function img_size($file, $max_width, $max_height){
class mw_data_images extends mw_data{
function img_size($file, $max_width, $max_height){
- $img_infos = getimagesize($file);
+ $img_infos =
@
getimagesize($file);
$img_size = array();
if($img_infos){
if($img_infos[0] > $max_width || $img_infos[1] > $max_height){
$img_size = array();
if($img_infos){
if($img_infos[0] > $max_width || $img_infos[1] > $max_height){
@@
-23,5
+23,3
@@
}
}
}
}
-
-?>
\ No newline at end of file