rewrite( URL::fromString($options['site_url']), URL::fromString((is_ssl() ? 'https://' : 'http://') . $options['cdn_domain_name']) ); } return $url; } public static function getBunnyCdnOptions() { try { $class = new \ReflectionClass('BunnyCDN'); $method = $class->getMethod('getOptions'); return $method->invoke(null); } catch (\Exception $e) { } catch (\Throwable $e) { } } }