HEX
Server: Apache/2.4.66 (Debian)
System: Linux ouvweb05 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User: respire.localocb5 (24651)
PHP: 8.3.30
Disabled: popen,proc_open,disk_free_space,diskfreespace,leak,exec,system,shell_exec,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_getpriority,pcntl_setpriority,pcntl_signal_dispatch,pcntl_signal,pcntl_sigprocmask,pcntl_sigtimedwait
Upload Files
File: /var/www/vhosts/respire.localoco.net/httpdocs/wp-content/themes/blocksy/inc/integrations/cdn.php
<?php

if (! function_exists('blocksy_cdn_url')) {
	function blocksy_cdn_url($url) {
		if (class_exists('BunnyCDN')) {
			$bunnyCdnOptions = BunnyCDN::getOptions();

			$url = str_replace(
				$bunnyCdnOptions["site_url"],
				(
					is_ssl() ? 'https://' : 'http://'
				) . $bunnyCdnOptions["cdn_domain_name"],
				$url
			);
		}

		if (function_exists('get_rocket_cdn_url')) {
			$url = get_rocket_cdn_url($url);
		}

		return apply_filters('blocksy:frontend:static-assets:cdn', $url);
	}
}