mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
Fix spells cache
This commit is contained in:
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>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user