|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /proc/17567/root/usr/src/lsws/lsws-6.3.4/add-ons/webcachemgr/src/Context/ |
Upload File : |
<?php
/* * ******************************************
* LiteSpeed Web Server Cache Manager
* @Author: LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
* @Copyright: (c) 2018-2019
* ******************************************* */
namespace Lsc\Wp\Context;
use \Lsc\Wp\Context\ContextOption;
use \Lsc\Wp\Logger;
class UserCLIContextOption extends ContextOption
{
public function __construct( $invokerName )
{
$invokerType = parent::FROM_CLI;
$isRoot = parent::IS_NOT_ROOT;
/**
* Do not change log levels as it will break UserCommand output format.
*/
$logFileLvl = Logger::L_NONE;
$logEchoLvl = Logger::L_NONE;
$bufferedWrite = false;
$bufferedEcho = false;
parent::__construct($invokerName, $invokerType, $isRoot, $logFileLvl,
$logEchoLvl, $bufferedWrite, $bufferedEcho);
$this->expectedPermissions = self::IS_NOT_ROOT;
$this->scanDepth = 2;
$this->batchTimeout = 0;
$this->batchSize = 0;
$this->logFile = '';
}
}