getUserConfigDir() public method

public getUserConfigDir ( ) : string
return string
Ejemplo n.º 1
0
 protected function setUpCache()
 {
     if (!isset(self::$cache)) {
         if (!empty($this->config->get('api.disable_cache'))) {
             self::$cache = new VoidCache();
         } else {
             self::$cache = new FilesystemCache($this->config->getUserConfigDir() . '/cache', FilesystemCache::EXTENSION, 077);
         }
     }
 }
Ejemplo n.º 2
0
 /**
  * @return string
  */
 protected function getSessionsDir()
 {
     return self::$config->getUserConfigDir() . '/.session';
 }