core: Add path separator to PATH_CACHE

This commit is contained in:
logmanoriginal 2018-11-10 19:48:05 +01:00
parent 2104fc4d58
commit ecdac1b089
4 changed files with 4 additions and 4 deletions

View file

@ -113,7 +113,7 @@ $defaultSpanText = DEFAULT_SPAN_TEXT){
// Initialize cache
$cache = Cache::create('FileCache');
$cache->setPath(PATH_CACHE . '/pages');
$cache->setPath(PATH_CACHE . 'pages/');
$cache->purgeCache(86400); // 24 hours (forced)
$params = [$url];