X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/10f7eb47b94df348b8bc18fe51ad1302b6664054..bff6dc8a7c75e3cbefc708bed41b116029eebab7:/Controller/CalendarController.php

diff --git a/Controller/CalendarController.php b/Controller/CalendarController.php
index 40da028..45cf8b7 100644
--- a/Controller/CalendarController.php
+++ b/Controller/CalendarController.php
@@ -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');