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

@@ -54,6 +54,7 @@ if (user_logged_in()) {
<h1>Changelog</h1>
<?php
$cache = new Cache('engine/cache/changelog');
$cache->useMemory(false);
if ($updateCache === true) {
$changelogs = mysql_select_multi("SELECT `id`, `text`, `time`, `report_id`, `status` FROM `znote_changelog` ORDER BY `id` DESC;");