]> Raphaël G. Git Repositories - airbundle/commitdiff
Rename cache.directory to path.cache
authorRaphaël Gertz <git@rapsys.eu>
Wed, 28 Jul 2021 07:40:34 +0000 (09:40 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 28 Jul 2021 07:40:34 +0000 (09:40 +0200)
Controller/CalendarController.php

index 40da028a2c8cb96b4ed9bac5d5f5fa2c335aa8a9..45cf8b74a018e2b48efc345755e1f0250862a572 100644 (file)
@@ -199,7 +199,7 @@ class CalendarController extends DefaultController {
                                //With valid token
                                } else {
                                        //Retrieve cache object
                                //With valid token
                                } else {
                                        //Retrieve cache object
-                                       $cache = new FilesystemAdapter($this->config['cache']['namespace'], $this->config['cache']['lifetime'], $this->config['cache']['directory']);
+                                       $cache = new FilesystemAdapter($this->config['cache']['namespace'], $this->config['cache']['lifetime'], $this->config['path']['cache']);
 
                                        //Retrieve calendars
                                        $cacheCalendars = $cache->getItem('calendars');
 
                                        //Retrieve calendars
                                        $cacheCalendars = $cache->getItem('calendars');