| version 1.42, 2008/09/08 21:06:58 |
version 1.43, 2008/11/24 10:04:10 |
|
|
| * 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); |
| } |
} |
| |
|
| /* |
/* |