]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/CalendarController.php
Update translation
[airbundle] / Controller / CalendarController.php
index 40da028a2c8cb96b4ed9bac5d5f5fa2c335aa8a9..45cf8b74a018e2b48efc345755e1f0250862a572 100644 (file)
@@ -199,7 +199,7 @@ class CalendarController extends DefaultController {
                                //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');