HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/vcz/wp-content/plugins/w3-total-cache/inc/options/cdn/common/cnames-readonly.php
<?php
namespace W3TC;

if ( ! defined( 'W3TC' ) ) {
	die();
}

if ( empty( $cnames ) ) {
} elseif ( count( $cnames ) == 1 ) {
	echo '<div class="w3tc_cdn_cnames_readonly">' . esc_html( $cnames[0] ) . '</div>';
} else {
	echo '<ol class="w3tc_cdn_cnames_readonly">';

	foreach ( $cnames as $index => $cname ) {
		$label = '';

		if ( 0 === $index ) {
			$label = __( '(reserved for CSS)', 'w3-total-cache' );
		} elseif ( 1 === $index ) {
			$label = __( '(reserved for JS in <head>)', 'w3-total-cache' );
		} elseif ( 2 === $index ) {
			$label = __( '(reserved for JS after <body>)', 'w3-total-cache' );
		} elseif ( 3 === $index ) {
			$label = __( '(reserved for JS before </body>)', 'w3-total-cache' );
		} else {
			$label = '';
		}

		echo '<li>' . esc_html( $cname ) . '<span class="w3tc_cdn_cname_comment">';
		echo esc_html( $label );
		echo '</span></li>';
	}

	echo '</ol>';
}