Rozdiely pre Metafox/functions.inc.php medzi verziami 1.40 a 1.41
| verzia 1.40, 2006/09/23 01:25:25 |
verzia 1.41, 2006/09/27 12:32:25 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/functions.inc.php,v 1.39 2006-09-22 23:36:03 nepto Exp $ */ |
/* $Platon: Metafox/functions.inc.php,v 1.40 2006-09-23 01:25:25 nepto Exp $ */ |
| |
|
| function ezin_eval($evalcode) /* {{{ */ |
function ezin_eval($evalcode) /* {{{ */ |
| { |
{ |
| Riadok 631 function ezin_scale_upload_image($input_ |
|
| Riadok 631 function ezin_scale_upload_image($input_ |
|
| $width_pct = $width[strlen($width) - 1] == '%'; |
$width_pct = $width[strlen($width) - 1] == '%'; |
| $cache_dir = '_cache'; |
$cache_dir = '_cache'; |
| $uni_prefix = $ezin_cfg['upload']['dir'].'/'; |
$uni_prefix = $ezin_cfg['upload']['dir'].'/'; |
| |
$input_image = urldecode($input_image); |
| if ($width_int <= 0 || preg_match('|.bmp$|i', $input_image)) { |
if ($width_int <= 0 || preg_match('|.bmp$|i', $input_image)) { |
| return $input_image; |
return $input_image; |
| } |
} |
Platon Group <platon@platon.sk> http://platon.sk/
|
|