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

Rozdiely pre Metafox/db.inc.php medzi verziami 1.79 a 1.80

verzia 1.79, 2013/11/18 11:04:43 verzia 1.80, 2014/04/02 09:10:30
Riadok 17 
Riadok 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/db.inc.php,v 1.78 2013-10-17 16:57:24 igor Exp $ */  /* $Platon: Metafox/db.inc.php,v 1.79 2013-11-18 11:04:43 igor Exp $ */
   
 /*  /*
  * updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002   * updates: 23/5/2001, 29/7/2001, 11/10/2001, 2/11/2001, 11/1/2002, 23/7/2002
Riadok 2321  function ezin_cache_save($cache_id = 0,
Riadok 2321  function ezin_cache_save($cache_id = 0,
         $content  = ezin_db_escape($content);          $content  = ezin_db_escape($content);
         $var_var  = intval($var_var);          $var_var  = intval($var_var);
         $query    = sprintf('INSERT INTO %s (id, var_var, timestamp, content)'          $query    = sprintf('INSERT INTO %s (id, var_var, timestamp, content)'
                         .' VALUES ("%s", %d, UNIX_TIMESTAMP(SYSDATE()), \'%s\')',                          .' VALUES ("%s", %d, UNIX_TIMESTAMP(SYSDATE()), \'%s\')'
                           .' ON DUPLICATE KEY UPDATE'
                           .' var_var     = VALUES(var_var),'
                           .' timestamp = VALUES(timestamp),'
                           .' content = VALUES(content)',
                         $ezin_sys['db']['tables']['cache'], $cache_id, $var_var, $content);                          $ezin_sys['db']['tables']['cache'], $cache_id, $var_var, $content);
         // possible error is ignored here          // possible error is ignored here
         @mysql_query($query, $ezin_db_handle);          @mysql_query($query, $ezin_db_handle);

Legend:
Odstranené z verzie1.79  
zmenené riadky
  Pridané vo verzii1.80

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