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/public_html/wp-content/plugins/breeze/views/tabs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

$varnish = breeze_get_option( 'varnish_cache', true );
$check_varnish = is_varnish_cache_started();
?>
<div class="breeze-top-notice">
   <p class="breeze_tool_tip"><?php _e('By default Varnish is enabled on all WordPress websites hosted on Cloudways.','breeze')?></p>
</div>
<table cellspacing="15">
    <tr>
        <td>
            <label for="auto-purge-varnish" class="breeze_tool_tip"><?php _e('Auto Purge Varnish', 'breeze'); ?></label>
        </td>
        <td>
            <input type="checkbox" id="auto-purge-varnish" name="auto-purge-varnish" value="1"  <?php checked($varnish['auto-purge-varnish'], '1')?>/>
            <span class="breeze_tool_tip" ><?php _e('Keep this option enabled to automatically purge Varnish cache on actions like publishing new blog posts, pages and comments.','breeze')?></span>
            <br>
            <?php if( !$check_varnish): ?>
            <span><b>Note:&nbsp;</b>
                <span style="color: #ff0000"><?php _e('Seems Varnish is disabled on your Application. Please refer to ', 'breeze') ?><a href="https://support.cloudways.com/most-common-varnish-issues-and-queries/" target="_blank"><?php _e('this KB', 'breeze') ?></a><?php _e(' and learn how to enable it.','breeze') ?> </span>
            </span>
            <?php endif; ?>
        </td>
    </tr>
    <tr>
        <td>
            <label for="varnish-server-ip" class="breeze_tool_tip"><?php _e('Varnish server', 'breeze'); ?></label>
        </td>
        <td>
            <input type="text" id="varnish-server-ip" size="20" name="varnish-server-ip"
                   value='<?php echo(!empty($varnish['breeze-varnish-server-ip']) ? esc_html($varnish['breeze-varnish-server-ip']) : '127.0.0.1'); ?>'/>
            <br/>
            <span class="breeze_tool_tip"><strong><?php _e('Note: Keep this default if you are a Cloudways customer. Otherwise ask your hosting provider on what to set here.','breeze')?></strong></span>
        </td>
    </tr>
    <tr>
        <td style="vertical-align: middle">
            <label class="breeze_tool_tip"><?php _e('Purge Varnish Cache', 'breeze'); ?></label>
        </td>
        <td>
            <input type="button" id="purge-varnish-button" class="button" value="<?php _e('Purge','breeze')?>"  />
            <span style="vertical-align: bottom; margin-left: 5px"><?php _e('Use this option to instantly Purge Varnish Cache on entire website. ', 'breeze') ?></span>
        </td>
    </tr>
</table>

https://t.me/AnonymousX5 - 2025