__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package Gantry5
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2021 RocketTheme, LLC
* @license Dual License: MIT or GNU/GPLv2 and later
*
* http://opensource.org/licenses/MIT
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Gantry Framework code that extends GPL code is considered GNU/GPLv2 and later
*/
namespace Gantry\Framework;
/**
* Class Exception
* @package Gantry\Framework
*/
class Exception extends \RuntimeException
{
protected $responseCodes = [
200 => '200 OK',
400 => '400 Bad Request',
401 => '401 Unauthorized',
403 => '403 Forbidden',
404 => '404 Not Found',
410 => '410 Gone',
500 => '500 Internal Server Error',
501 => '501 Not Implemented',
503 => '503 Service Temporarily Unavailable'
];
/**
* @return int
*/
public function getResponseCode()
{
return isset($this->responseCodes[$this->code]) ? (int) $this->code : 500;
}
/**
* @return string
*/
public function getResponseStatus()
{
return $this->responseCodes[$this->getResponseCode()];
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Base | Folder | 0775 |
|
|
| Markdown | Folder | 0775 |
|
|
| Services | Folder | 0775 |
|
|
| Assignments.php | File | 6.5 KB | 0664 |
|
| Atoms.php | File | 9.32 KB | 0664 |
|
| Configurations.php | File | 472 B | 0664 |
|
| Document.php | File | 12.24 KB | 0664 |
|
| Exception.php | File | 1.16 KB | 0664 |
|
| Exporter.php | File | 18.62 KB | 0664 |
|
| Gantry.php | File | 1.69 KB | 0664 |
|
| Menu.php | File | 27.34 KB | 0664 |
|
| Outlines.php | File | 9.06 KB | 0664 |
|
| Page.php | File | 5.02 KB | 0664 |
|
| Platform.php | File | 22.04 KB | 0664 |
|
| Positions.php | File | 558 B | 0664 |
|
| Request.php | File | 547 B | 0664 |
|
| Site.php | File | 1.03 KB | 0664 |
|
| Theme.php | File | 6.56 KB | 0664 |
|
| ThemeInstaller.php | File | 19.48 KB | 0664 |
|
| Translator.php | File | 731 B | 0664 |
|