Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, November 13, 2026

Diff for Metafox/functions.inc.php between version 1.131 and 1.132

version 1.131, 2015/02/11 13:28:34 version 1.132, 2015/05/22 20:06:44
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.130 2015-01-20 15:20:16 igor Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.131 2015-02-11 13:28:34 igor Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Line 962  function ezin_get_upload_image_width($in
Line 962  function ezin_get_upload_image_width($in
   
 function ezin_scale_upload_image($input_image, $width) /* {{{ */  function ezin_scale_upload_image($input_image, $width) /* {{{ */
 {  {
         global $ezin_cfg;          global $ezin_cfg, $ezin_sys;
         $width      = preg_replace('/["\']/', '', trim($width));          $width      = preg_replace('/["\']/', '', trim($width));
         $width_int  = intval($width);          $width_int  = intval($width);
         $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_sys['dir']['root'].$ezin_cfg['upload']['dir'].'/';
         $input_image = rawurldecode($input_image);          $input_image = rawurldecode($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;

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top