src/Ubiquity/cache/CacheManager.php
public static function checkCache(&$config, $silent = false) {
		$dirs = self::getCacheDirectories ( $config, $silent );
		foreach ( $dirs as $dir ) {
			self::safeMkdir ( $dir );
		}
		return $dirs;
	}
public static function checkCache(&$config, $silent = false) {
		$dirs = self::getCacheDirectories ( $config, $silent );
		foreach ( $dirs as $dir ) {
			self::safeMkdir ( $dir );
		}
		return $dirs;
	}
public static function checkCache ( & $ config , $ silent = false ) { $ dirs = self :: getCacheDirectories ( $ config , $ silent ) ; foreach ( $ dirs as $ dir ) { self :: safeMkdir ( $ dir ) ; } return $ dirs ; }
Checks the existence of cache subdirectories and returns an array of cache folders

@param array $config
@param boolean $silent
@return string[]
Checks the existence of cache subdirectories and returns an array of cache folders