Server IP : 66.29.132.122 / Your IP : 3.144.15.18 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/usr/local/lsws/add-ons/webcachemgr/src/Context/ |
Upload File : |
<?php /** ****************************************** * LiteSpeed Web Server Cache Manager * * @author LiteSpeed Technologies, Inc. (https://www.litespeedtech.com) * @copyright (c) 2018-2020 * ******************************************* */ namespace Lsc\Wp\Context; use \Lsc\Wp\Logger; class RootPanelContextOption extends ContextOption { /** * * @param string $panelName */ public function __construct( $panelName ) { $invokerName = $panelName; $invokerType = parent::FROM_CONTROL_PANEL; $isRoot = parent::IS_ROOT; $logFileLvl = Logger::L_INFO; $logEchoLvl = Logger::L_NONE; $bufferedWrite = true; $bufferedEcho = true; parent::__construct($invokerName, $invokerType, $isRoot, $logFileLvl, $logEchoLvl, $bufferedWrite, $bufferedEcho); $this->scanDepth = 2; $this->batchTimeout = 60; $this->batchSize = 10; $sharedTplDir = realpath(__DIR__ . '/../View/Tpl'); if ( !is_string($sharedTplDir) ) { $sharedTplDir = '/usr/local/lsws/add-ons/webcachemgr/src/View/Tpl'; } $this->sharedTplDir = $sharedTplDir; } }