From 561bdcd7663823a2ad45432a5f864723e5ccfe5f Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 11 Nov 2023 12:07:10 +0100 Subject: [PATCH] My bad --- system/libs/Towns.php | 2 +- system/libs/items.php | 4 ++-- system/libs/npc.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/system/libs/Towns.php b/system/libs/Towns.php index f13e1025..edecd11d 100644 --- a/system/libs/Towns.php +++ b/system/libs/Towns.php @@ -33,7 +33,7 @@ class Towns /** * @var string */ - private static $filename = CACHE . 'persistent' . 'towns.php'; + private static $filename = CACHE . 'persistent/' . 'towns.php'; /** * Determine towns diff --git a/system/libs/items.php b/system/libs/items.php index 2c29faf5..3d44f295 100644 --- a/system/libs/items.php +++ b/system/libs/items.php @@ -40,7 +40,7 @@ class Items } require_once LIBS . 'cache_php.php'; - $cache_php = new Cache_PHP(config('cache_prefix'), CACHE . 'persistent'); + $cache_php = new Cache_PHP(config('cache_prefix'), CACHE . 'persistent/'); $cache_php->set('items', $items, 5 * 365 * 24 * 60 * 60); return true; } @@ -68,7 +68,7 @@ class Items } require_once LIBS . 'cache_php.php'; - $cache_php = new Cache_PHP(config('cache_prefix'), CACHE . 'persistent'); + $cache_php = new Cache_PHP(config('cache_prefix'), CACHE . 'persistent/'); self::$items = $cache_php->get('items'); } diff --git a/system/libs/npc.php b/system/libs/npc.php index 4d8c7562..163f8643 100644 --- a/system/libs/npc.php +++ b/system/libs/npc.php @@ -41,7 +41,7 @@ class NPCs } require_once LIBS . 'cache_php.php'; - $cache_php = new Cache_PHP(config('cache_prefix'), CACHE . 'persistent'); + $cache_php = new Cache_PHP(config('cache_prefix'), CACHE . 'persistent/'); $cache_php->set('npcs', $npcs, 5 * 365 * 24 * 60 * 60); return true; } @@ -53,7 +53,7 @@ class NPCs } require_once LIBS . 'cache_php.php'; - $cache_php = new Cache_PHP(config('cache_prefix'), CACHE . 'persistent'); + $cache_php = new Cache_PHP(config('cache_prefix'), CACHE . 'persistent/'); self::$npcs = $cache_php->get('npcs'); } }