X7ROOT File Manager
Current Path:
/usr/src/litespeed-wp-plugin/6.3.0.1/litespeed-cache/tpl/cache
usr
/
src
/
litespeed-wp-plugin
/
6.3.0.1
/
litespeed-cache
/
tpl
/
cache
/
📁
..
📄
entry.tpl.php
(2.12 KB)
📄
entry_network.tpl.php
(1.31 KB)
📄
more_settings_tip.tpl.php
(435 B)
📄
network_settings-advanced.tpl.php
(417 B)
📄
network_settings-browser.tpl.php
(118 B)
📄
network_settings-cache.tpl.php
(1.13 KB)
📄
network_settings-excludes.tpl.php
(519 B)
📄
network_settings-object.tpl.php
(117 B)
📄
network_settings-purge.tpl.php
(415 B)
📄
settings-advanced.tpl.php
(2.27 KB)
📄
settings-browser.tpl.php
(118 B)
📄
settings-cache.tpl.php
(5.09 KB)
📄
settings-esi.tpl.php
(5.59 KB)
📄
settings-excludes.tpl.php
(4.34 KB)
📄
settings-object.tpl.php
(117 B)
📄
settings-purge.tpl.php
(5.85 KB)
📄
settings-ttl.tpl.php
(3.07 KB)
📄
settings_inc.browser.tpl.php
(1.9 KB)
📄
settings_inc.cache_dropquery.tpl.php
(762 B)
📄
settings_inc.cache_mobile.tpl.php
(2.37 KB)
📄
settings_inc.cache_resources.tpl.php
(572 B)
📄
settings_inc.exclude_cookies.tpl.php
(537 B)
📄
settings_inc.exclude_useragent.tpl.php
(543 B)
📄
settings_inc.login_cookie.tpl.php
(3.02 KB)
📄
settings_inc.object.tpl.php
(6.53 KB)
📄
settings_inc.purge_on_upgrade.tpl.php
(461 B)
Editing: settings_inc.login_cookie.tpl.php
<?php namespace LiteSpeed; defined('WPINC') || exit; ?> <tr> <th> <?php $id = Base::O_CACHE_LOGIN_COOKIE; ?> <?php $this->title($id); ?> </th> <td> <?php $this->build_input($id); $this->_validate_syntax($id); echo '<p class="litespeed-desc">' . __('SYNTAX: alphanumeric and "_".', 'litespeed-cache') . ' ' . __('No spaces and case sensitive.', 'litespeed-cache') . ' ' . __('MUST BE UNIQUE FROM OTHER WEB APPLICATIONS.', 'litespeed-cache') . '</p>' . '<p class="litespeed-desc">' . sprintf(__('The default login cookie is %s.', 'litespeed-cache'), '<code>_lscache_vary</code>') . ' ' . __('The server will determine if the user is logged in based on the existence of this cookie.', 'litespeed-cache') . ' ' . __('This setting is useful for those that have multiple web applications for the same domain.', 'litespeed-cache') . ' ' . __('If every web application uses the same cookie, the server may confuse whether a user is logged in or not.', 'litespeed-cache') . ' ' . __('The cookie set here will be used for this WordPress installation.', 'litespeed-cache') . '</p>' . '<p class="litespeed-desc">' . __('Example use case:', 'litespeed-cache') . '<br />' . sprintf(__('There is a WordPress installed for %s.', 'litespeed-cache'), '<u>www.example.com</u>') . '<br />' . sprintf(__('Then another WordPress is installed (NOT MULTISITE) at %s', 'litespeed-cache'), '<u>www.example.com/blog/</u>') . ' ' . __('The cache needs to distinguish who is logged into which WordPress site in order to cache correctly.', 'litespeed-cache') . '<br />'; ?> <?php Doc::notice_htaccess(); echo '</p>'; ?> <?php if (preg_match('#[^\w\-]#', $this->conf($id))) { echo '<div class="litespeed-callout notice notice-error inline"><p>❌ ' . __('Invalid login cookie. Invalid characters found.', 'litespeed-cache') . '</p></div>'; } if (defined('LITESPEED_ON') && $this->conf($id)) { $cookie_rule = ''; try { $cookie_rule = Htaccess::cls()->current_login_cookie(); } catch (\Exception $e) { echo '<div class="litespeed-callout notice notice-error inline"><p>' . $e->getMessage() . '</p></div>'; } $cookie_arr = explode(',', $cookie_rule); if (!in_array($this->conf($id), $cookie_arr)) { echo '<div class="litespeed-callout notice notice-warning inline"><p>' . __('WARNING: The .htaccess login cookie and Database login cookie do not match.', 'litespeed-cache') . '</p></div>'; } } ?> </td> </tr> <tr> <th> <?php $id = Base::O_CACHE_VARY_COOKIES; ?> <?php $this->title($id); ?> </th> <td> <?php $this->build_textarea($id, 50); $this->_validate_syntax($id); echo '<p class="litespeed-desc">' . __('SYNTAX: alphanumeric and "_".', 'litespeed-cache') . ' ' . __('No spaces and case sensitive.', 'litespeed-cache') . '</p>' . '<p class="litespeed-desc">' . ' ' . __('You can list the 3rd party vary cookies here.', 'litespeed-cache') . '</p>' . '<p class="litespeed-desc">'; ?> <?php Doc::notice_htaccess(); echo '</p>'; ?> </td> </tr>
Upload File
Create Folder