Update MD_STD_CACHE to reload error pages
This commit is contained in:
parent
8aa9d94acf
commit
1b1d33229d
|
@ -60,7 +60,7 @@ final class MD_STD_CACHE {
|
||||||
|
|
||||||
if (($redisResult = $redis->get($redisKey))) {
|
if (($redisResult = $redis->get($redisKey))) {
|
||||||
|
|
||||||
if (strlen($redisResult) > 3) {
|
if (strlen($redisResult) > 3 and strpos($redisResult, ' id="errorPage"') === false) {
|
||||||
$redis->close();
|
$redis->close();
|
||||||
return $redisResult;
|
return $redisResult;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user