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

Diff for Metafox/functions.inc.php between version 1.42 and 1.43

version 1.42, 2006/09/27 12:51:56 version 1.43, 2006/10/01 14:31:41
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.41 2006-09-27 12:32:25 nepto Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.42 2006-09-27 12:51:56 nepto Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Line 647  function ezin_scale_upload_image($input_
Line 647  function ezin_scale_upload_image($input_
         $output_image .= ($width_pct ? 'pct' : 'abs').'--';          $output_image .= ($width_pct ? 'pct' : 'abs').'--';
         $output_image .= str_replace('/','--', $input_image);          $output_image .= str_replace('/','--', $input_image);
         if (file_exists($uni_prefix.$output_image)) {          if (file_exists($uni_prefix.$output_image)) {
                 return rawurlencode($output_image);                  return str_replace('%2F', '/', rawurlencode($output_image));
         }          }
         include_once 'Image/Transform.php';          include_once 'Image/Transform.php';
         $img = Image_Transform::factory('GD');          $img = Image_Transform::factory('GD');
Line 658  function ezin_scale_upload_image($input_
Line 658  function ezin_scale_upload_image($input_
                 $img->scaleByX($width_int);                  $img->scaleByX($width_int);
         }          }
         $img->save($uni_prefix.$output_image);          $img->save($uni_prefix.$output_image);
         return rawurlencode($output_image);          return str_replace('%2F', '/', rawurlencode($output_image));
 } /* }}} */  } /* }}} */
   
 /*  /*

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

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