File manager - Edit - /home/proidvn/me.proid.vn/wp-content/plugins/wp-all-import-pro/src/Http/Response.php
Back
<?php namespace Wpai\Http; class Response { protected $content; protected $status; protected $headers = array( 'Content-Type' => 'text/html' ); public function __construct($content, $status = 200) { $this->content = $content; $this->status = $status; } public function render() { $this->sendHeaders(); $this->sendContent(); die; } protected function sendHeaders() { foreach($this->headers as $header => $value) { header($header.': '.$value); } http_response_code($this->status); } protected function sendContent() { echo $this->content; } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.17 |
proxy
|
phpinfo
|
Settings