One Hat Cyber Team
Your IP :
216.73.217.131
Server IP :
185.33.55.30
Server :
Linux cl30.webspacecontrol.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.1.34
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
cxs2
/
app
/
models
/
Edit File:
Messages.php
<?php /** * Messages, Message model * * @copyright Copyright (c) 2007 DotRoll Kft. (http://www.dotroll.com) * @author Zoltán Istvanovszki <zoltan.istvanovszki@dotroll.com> * @since 2017.06.13. * @package CXS_2.0 */ use Phalcon\Mvc\Model; use Phalcon\Db\RawValue; class Messages extends Model { /** * * @var int Message ID */ public $id; /** * * @var string Server hostname */ public $hostname; /** * * @var string Username */ public $hash; /** * * @var string Message reason */ public $reason; /** * * @var string Report datetime */ public $datetime; /** * Initialization */ public function onConstruct() { $this->getDI()->get('console')->reconnect(); } /** * Dafault stuff */ public function beforeValidationOnCreate() { $this->datetime ?? new RawValue('NOW()'); } }
Simpan