1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-16 02:26:25 +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).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/cache_handler.php,v $
| $Revision: 1.5 $
| $Date: 2007-06-25 21:13:40 $
| $Author: e107steved $
| $Revision: 1.6 $
| $Date: 2007-12-09 00:12:08 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@ -24,8 +24,8 @@ if (!defined('e107_INIT')) { exit; }
* Class to cache data as files, improving site speed and throughput.
*
* @package e107
* @version $Revision: 1.5 $
* @author $Author: e107steved $
* @version $Revision: 1.6 $
* @author $Author: e107coders $
*/
class ecache {
@ -64,7 +64,8 @@ class ecache {
$CheckTag = '_'.$this->CachePageMD5;
}
} else {
$CheckTag = '';
// Check if a custom CachePageMD5 is in use in e_module.php.
$CheckTag = ($this->CachePageMD5) ? "_".$this->CachePageMD5 : "";
}
} else {
$CheckTag = '';