This commit is contained in:
slawkens
2023-11-11 12:07:10 +01:00
parent 556ef47d59
commit 561bdcd766
3 changed files with 5 additions and 5 deletions

View File

@@ -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');
}