Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 16. november 2026

Rozdiely pre Metafox/functions.inc.php medzi verziami 1.131 a 1.132

verzia 1.131, 2015/02/11 13:28:34 verzia 1.132, 2015/05/22 20:06:44
Riadok 17 
Riadok 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) /* {{{ */
 {  {
Riadok 962  function ezin_get_upload_image_width($in
Riadok 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:
Odstranené z verzie1.131  
zmenené riadky
  Pridané vo verzii1.132

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok