1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

Caching fixes.

This commit is contained in:
Cameron
2016-12-18 10:27:12 -08:00
parent ad170838b9
commit bc5a224f25
3 changed files with 10 additions and 2 deletions

View File

@@ -55,6 +55,12 @@ class ecache {
return $this;
}
public function getMD5()
{
return $this->CachePageMD5;
}
/**
* @return string
* @param string $query

View File

@@ -934,6 +934,7 @@ class e_media
if($data = $cache->retrieve($type,360,true))
{
$cache->setMD5(null);
return e107::unserialize($data);
}
@@ -966,7 +967,8 @@ class e_media
$data = e107::serialize($icons);
$cache->set($type,$data,true);
$cache->set($type,$data,true);
$cache->setMD5(null);
return $icons;
}

View File

@@ -23,7 +23,7 @@ if(!empty($parm))
}
}
$cached = false;
if(false === $cached)
{