https://t.me/AnonymousX5
Server : Apache/2
System : Linux vps.sdns.vn 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64
User : phatdatpq ( 1022)
PHP Version : 7.2.34
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/phatdatpq/domains/phatdatphuquy.com/public_html/wp-content/plugins/breeze/views/tabs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/phatdatpq/domains/phatdatphuquy.com/public_html/wp-content/plugins/breeze/views/tabs/cdn.php
<?php
    defined('ABSPATH') or die;

    $cdn_integration = breeze_get_option( 'cdn_integration', true );

    $cdn_content_value = '';
    $cdn_exclude_content_value = '';
    if(!empty($cdn_integration['cdn-content'])){
        $cdn_content_value = implode(',',$cdn_integration['cdn-content']);
    }
    if(!empty($cdn_integration['cdn-exclude-content'])){
        $cdn_exclude_content_value = implode(',',$cdn_integration['cdn-exclude-content']);
    }
?>
<table cellspacing="15">
    <tr>
        <td>
            <label for="activate-cdn" class="breeze_tool_tip"><?php _e('Activate CDN', 'breeze')?></label>
        </td>
        <td>
            <input type="checkbox" id="activate-cdn" name="activate-cdn"  value="1" <?php checked($cdn_integration['cdn-active'],'1')?>/>
            <span class="breeze_tool_tip"><?php _e('Enable to make CDN effective on your website.', 'breeze')?></span>
        </td>
    </tr>
    <tr>
        <td>
            <label for="cdn-url" class="breeze_tool_tip"><?php _e('CDN CNAME', 'breeze')?></label>
        </td>
        <td>
	        <?php
	        $cdn_url            = ( ( $cdn_integration['cdn-url'] ) ? esc_html( $cdn_integration['cdn-url'] ) : '' );
	        $cdn_url_validation = breeze_validate_url_via_regexp( $cdn_url );
	        ?>
            <input type="text" id="cdn-url" name="cdn-url" size="50" placeholder="<?php _e('https://www.domain.com','breeze')?>" value="<?php echo $cdn_url; ?>"/>
            <span style="vertical-align: baseline" class="breeze_tool_tip"><?php _e('Enter CDN CNAME.', 'breeze')?></span>
            <br>
            <span class="breeze_tool_tip"><b>Note:&nbsp;</b><?php _e('Use double slash ‘//’ at the start of CDN CNAME, if you have some pages on  HTTP and some are on HTTPS.', 'breeze') ?></span>
	        <?php
	        if ( false === $cdn_url_validation && ! empty( $cdn_url ) ) {
		        ?>
                <br/>
                <span>
					<b><?php esc_html_e( 'Note', 'breeze' ); ?>:&nbsp;</b>
					<span style="color: #ff0000">
						<?php
						echo $cdn_url . ' ';
						echo esc_html__( 'is not a valid CDN url.', 'breeze' );
						?>
					</span>
				</span>
		        <?php
	        }
	        ?>
        </td>
    </tr>
    <tr>
        <td>
            <label for="cdn-content" class="breeze_tool_tip" ><?php _e('CDN Content', 'breeze')?></label>
        </td>
        <td>
            <input type="text" id="cdn-content" name="cdn-content" size="50" value="<?php echo (($cdn_content_value)?esc_html($cdn_content_value):''); ?>"/>
            <br>
            <span class="breeze_tool_tip"><b>Note:&nbsp;</b><?php _e('Enter the directories (comma separated) of which you want the CDN to serve the content.', 'breeze') ?></span>
        </td>
    </tr>
    <tr>
        <td>
            <label for="cdn-exclude-content" class="breeze_tool_tip" ><?php _e('Exclude Content', 'breeze')?></label>
        </td>
        <td>
            <input type="text" id="cdn-exclude-content" name="cdn-exclude-content" size="50" value="<?php echo (($cdn_exclude_content_value)?esc_html($cdn_exclude_content_value):''); ?>" />
            <br>
            <span class="breeze_tool_tip"><b>Note:&nbsp;</b><?php _e('Exclude file types or directories from CDN. Example, enter .css to exclude the CSS files.', 'breeze') ?></span>
        </td>
    </tr>
    <tr>
        <td>
            <label for="cdn-relative-path" class="breeze_tool_tip" ><?php _e('Relative path', 'breeze')?></label>
        </td>
        <td>
            <input type="checkbox" id="cdn-relative-path" name="cdn-relative-path"  value="1" <?php checked($cdn_integration['cdn-relative-path'], '1')?>/>
            <span class="breeze_tool_tip"><?php _e('Keep this option enabled. Use this option to enable relative path for your CDN on your WordPress site.', 'breeze')?></span>
        </td>
    </tr>
</table>

https://t.me/AnonymousX5 - 2025