method check documentation in bbn\Cdn
function()
{
if (!parent::check()) {
return false;
}
$file = empty($this->cfg['file']) || $this->cfg['is_component'] ? $this->cfg['cache_file'] : $this->fpath . $this->cfg['file'];
if ($file && is_file($file)) {
return true;
}
if ($this->cfg['ext'] !== 'map') {
X::log("Impossible to find $file for " . $this->cfg['url'], 'cdn_errors');
}
return false;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions