Get array of CDN path to CDN host, i.e. [ '/site/' => 'cdn.domain.com/' ]
Usage
// basic usage
$array = $proCacheCDN->pathsToHosts();
// usage with all arguments
$array = $proCacheCDN->pathsToHosts($https = null);
Arguments
Name | Type(s) | Description |
---|---|---|
https (optional) | bool, null | include only HTTPS hosts? Or omit to auto-detect from $config->https |
Return value
array
ProCacheCDN methods and properties
API reference based on ProcessWire core version 3.0.236