mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-02 04:39:28 +00:00
0bc0a09bf4
- application/extensions file system permission now is 775 - application/logs file system permission now is 775 - Added extensions directory in application/: config, controllers, helpers, hooks, libraries, models, views and widgets - Added view views/extensions/manage.php - Added controller controllers/system/extensions/Manager.php - Added library ExtensionsLib to manage extensions - Added model models/system/Extensions_model.php - Moved code related to print out info from MigrationLib to EPrintfLib
30 lines
451 B
PHP
30 lines
451 B
PHP
<?php
|
|
|
|
namespace Sabre\HTTP;
|
|
|
|
class ResponseMock extends Response {
|
|
|
|
public $headers = array();
|
|
public $status = '';
|
|
public $body = '';
|
|
|
|
function setHeader($name,$value,$overwrite = true) {
|
|
|
|
$this->headers[$name] = $value;
|
|
|
|
}
|
|
|
|
function sendStatus($code) {
|
|
|
|
$this->status = $this->getStatusMessage($code, $this->defaultHttpVersion);
|
|
|
|
}
|
|
|
|
function sendBody($body) {
|
|
|
|
$this->body = $body;
|
|
|
|
}
|
|
|
|
}
|