⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
ingo
/
lib
/
Transport
/
View File Name :
Base.php
* @author Jan Schneider
* @category Horde * @license http://www.horde.org/licenses/apache ASL * @package Ingo */ /** * Ingo_Transport defines an API to activate filter scripts on a server. * * @author Mike Cochrane
* @author Jan Schneider
* @category Horde * @license http://www.horde.org/licenses/apache ASL * @package Ingo */ abstract class Ingo_Transport_Base { /** * Congifuration parameters. * * @var array */ protected $_params = array( 'password' => null, 'username' => null ); /** * Whether this driver allows managing other users' rules. * * @var boolean */ protected $_supportShares = false; /** * Constructor. * * @param array $params Configuration parameters. */ public function __construct(array $params = array()) { $this->_params = array_merge($this->_params, $params); } /** * Sets a script running on the backend. * * @param array $script The filter script information. Passed elements: * - 'name': (string) the script name. * - 'recipes': (array) the filter recipe objects. * - 'script': (string) the filter script. * * @throws Ingo_Exception */ public function setScriptActive($script) { } /** * Returns whether the driver supports managing other users' rules. * * @return boolean True if the driver supports shares. */ public function supportShares() { return ($this->_supportShares && $GLOBALS['session']->get('ingo', 'backend/shares')); } /** * Quotes user input if supported by the transport driver. * * @param string $string A string to quote. * * @return string The quoted string. */ public function quote($string) { return $string; } }