mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
Fix spells cache
This commit is contained in:
parent
f7445bb89a
commit
d914c93085
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
// Loading spell list
|
// Loading spell list
|
||||||
$spellsCache = new Cache('engine/cache/spells');
|
$spellsCache = new Cache('engine/cache/spells');
|
||||||
|
$spellsCache->useMemory(false);
|
||||||
if (user_logged_in() && is_admin($user_data)) {
|
if (user_logged_in() && is_admin($user_data)) {
|
||||||
if (isset($_GET['update'])) {
|
if (isset($_GET['update'])) {
|
||||||
echo "<p><strong>Logged in as admin, loading engine/XML/spells.xml file and updating cache.</strong></p>";
|
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