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

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

version 1.42, 2008/09/08 21:06:58 version 1.43, 2008/11/24 10:04:10
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/subst.inc.php,v 1.41 2008-07-29 16:14:29 nepto Exp $ */  /* $Platon: Metafox/subst.inc.php,v 1.42 2008-09-08 21:06:58 nepto Exp $ */
   
 require_once 'cfgldr.inc.php';  require_once 'cfgldr.inc.php';
 require_once 'error.inc.php';  require_once 'error.inc.php';
Line 123  if ($ezin_cgi['lang'] != @$_COOKIE['ezin
Line 123  if ($ezin_cgi['lang'] != @$_COOKIE['ezin
   
 /*  /*
  * Check number of articles after SYSDATE   * Check number of articles after SYSDATE
    * (the same principle as 'version')
  */   */
   
 $ezin_atodo_real   = ezin_get_articles_todo();  $ezin_atodo_real   = ezin_get_articles_todo();
 $ezin_atodo_cached = ezin_cache_load_content('atodo');  $ezin_atodo_cached = ezin_cache_load_content('atodo');
 if ($ezin_atodo_cached === false ||  if ($ezin_atodo_cached === false) {
                 intval($ezin_atodo_real) != intval($ezin_atodo_cached)) {  
         ezin_cache_clear('');  
         ezin_cache_save('atodo', $ezin_atodo_real);          ezin_cache_save('atodo', $ezin_atodo_real);
   } elseif (intval($ezin_atodo_real) != intval($ezin_atodo_cached)) {
           ezin_cache_clear('');
           ezin_cache_save('atodo', $ezin_atodo_real, 0, 0);
 }  }
   
 /*  /*

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