Fix #371 - fast APCu memory caching support

This commit is contained in:
Znote
2021-07-24 00:34:54 +02:00
parent 26c486ef27
commit 32e5b6278e
5 changed files with 155 additions and 100 deletions

View File

@@ -15,6 +15,7 @@ require_once 'engine/init.php'; include 'layout/overall/header.php';
// Changelog ticker //
// Load from cache
$changelogCache = new Cache('engine/cache/changelog');
$changelogCache->useMemory(false);
$changelogs = $changelogCache->load();
if (isset($changelogs) && !empty($changelogs) && $changelogs !== false) {