2
0
mirror of https://github.com/Znote/ZnoteAAC.git synced 2025-05-01 11:49:21 +02:00

Fix spells cache

This commit is contained in:
Znote 2021-07-31 20:19:41 +02:00
parent f7445bb89a
commit d914c93085

@ -2,6 +2,7 @@
// Loading spell list
$spellsCache = new Cache('engine/cache/spells');
$spellsCache->useMemory(false);
if (user_logged_in() && is_admin($user_data)) {
if (isset($_GET['update'])) {
echo "<p><strong>Logged in as admin, loading engine/XML/spells.xml file and updating cache.</strong></p>";