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/db.inc.php between version 1.79 and 1.80

version 1.79, 2013/11/18 11:04:43 version 1.80, 2014/04/02 09:10:30
Line 17 
Line 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
Line 2321  function ezin_cache_save($cache_id = 0,
Line 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:
Removed from v.1.79  
changed lines
  Added in v.1.80

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