mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 09:34:54 +02:00
Allow for non-hashed cache files. File-Handler getRemoteContent() debugging methods added.
This commit is contained in:
@@ -43,9 +43,9 @@ class ecache {
|
||||
/**
|
||||
* Set the MD5 Hash
|
||||
*/
|
||||
public function setMD5($text)
|
||||
public function setMD5($text, $hash=true)
|
||||
{
|
||||
$this->CachePageMD5 = md5($text);
|
||||
$this->CachePageMD5 = ($hash === true) ? md5($text) : $text;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user