芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/litespeed-cache/tpl/toolbox/edit_htaccess.tpl.php
htaccess_read(); } catch (\Exception $e) { echo '
' . $e->getMessage() . '
'; } $htaccess_path = Htaccess::get_frontend_htaccess(); // Check if there is `ExpiresDefault` in .htaccess if (defined('LITESPEED_ON')) { if ($content && stripos($content, "\nExpiresDefault") !== false) { $is_dismissed = GUI::get_option(self::DB_DISMISS_MSG); if ($is_dismissed !== self::RULECONFLICT_DISMISSED) { // Need to add a notice for browser cache compatibility if ($is_dismissed !== self::RULECONFLICT_ON) { GUI::update_option(self::DB_DISMISS_MSG, self::RULECONFLICT_ON); } require_once LSCWP_DIR . 'tpl/inc/show_rule_conflict.php'; } } // don't dismiss the msg automatically // elseif ( $is_dismissed === Cache_Admin_Display::RULECONFLICT_ON ) { // update_option( self::DISMISS_MSG, Cache_Admin_Display::RULECONFLICT_DISMISSED ); // } } ?>
:
: LITESPEED_CFG_HTACCESS'); ?> defined("LITESPEED_CFG_HTACCESS") || define("LITESPEED_CFG_HTACCESS", "your path on server");', '
wp-config.php
'); ?>
:
: LITESPEED_CFG_HTACCESS_BACKEND'); ?> defined("LITESPEED_CFG_HTACCESS_BACKEND") || define("LITESPEED_CFG_HTACCESS_BACKEND", "your path on server");', '
wp-config.php
'); ?>
</textarea>