Update MD_STD_CACHE to reload error pages

This commit is contained in:
Joshua Ramon Enslin 2021-02-09 15:18:40 +01:00
parent 8aa9d94acf
commit 1b1d33229d
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -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;
} }