1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-07 19:35:47 +02:00

Bugfix: custom CachePageMD5 was failing when used in e_module.php

This commit is contained in:
CaMer0n 2007-12-09 00:12:08 +00:00
parent 4be55c71ce
commit 161ee43eb3

View File

@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/cache_handler.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/cache_handler.php,v $
| $Revision: 1.5 $ | $Revision: 1.6 $
| $Date: 2007-06-25 21:13:40 $ | $Date: 2007-12-09 00:12:08 $
| $Author: e107steved $ | $Author: e107coders $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@ -24,8 +24,8 @@ if (!defined('e107_INIT')) { exit; }
* Class to cache data as files, improving site speed and throughput. * Class to cache data as files, improving site speed and throughput.
* *
* @package e107 * @package e107
* @version $Revision: 1.5 $ * @version $Revision: 1.6 $
* @author $Author: e107steved $ * @author $Author: e107coders $
*/ */
class ecache { class ecache {
@ -64,7 +64,8 @@ class ecache {
$CheckTag = '_'.$this->CachePageMD5; $CheckTag = '_'.$this->CachePageMD5;
} }
} else { } else {
$CheckTag = ''; // Check if a custom CachePageMD5 is in use in e_module.php.
$CheckTag = ($this->CachePageMD5) ? "_".$this->CachePageMD5 : "";
} }
} else { } else {
$CheckTag = ''; $CheckTag = '';