mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Fix #371 - fast APCu memory caching support
This commit is contained in:
@@ -4,6 +4,7 @@ if ($config['UseChangelogTicker']) {
|
||||
// Changelog ticker //
|
||||
// Load from cache
|
||||
$changelogCache = new Cache('engine/cache/changelog');
|
||||
$changelogCache->useMemory(false);
|
||||
$changelogs = $changelogCache->load();
|
||||
|
||||
if (isset($changelogs) && !empty($changelogs) && $changelogs !== false) {
|
||||
|
Reference in New Issue
Block a user