mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Caching fixes.
This commit is contained in:
@@ -55,6 +55,12 @@ class ecache {
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
public function getMD5()
|
||||
{
|
||||
return $this->CachePageMD5;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
* @param string $query
|
||||
|
@@ -934,6 +934,7 @@ class e_media
|
||||
|
||||
if($data = $cache->retrieve($type,360,true))
|
||||
{
|
||||
$cache->setMD5(null);
|
||||
return e107::unserialize($data);
|
||||
}
|
||||
|
||||
@@ -967,6 +968,7 @@ class e_media
|
||||
$data = e107::serialize($icons);
|
||||
|
||||
$cache->set($type,$data,true);
|
||||
$cache->setMD5(null);
|
||||
return $icons;
|
||||
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@ if(!empty($parm))
|
||||
}
|
||||
|
||||
}
|
||||
$cached = false;
|
||||
|
||||
|
||||
if(false === $cached)
|
||||
{
|
||||
|
Reference in New Issue
Block a user