Initial commit
This commit is contained in:
27
app/controllers/error.php
Normal file
27
app/controllers/error.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* app/controllers/error.php
|
||||
*
|
||||
* This is the error controller.
|
||||
*
|
||||
* @version 3.0
|
||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
||||
* @link https://TheTempusProject.com
|
||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
||||
*/
|
||||
namespace TheTempusProject\Controllers;
|
||||
|
||||
use TheTempusProject\Classes\Controller;
|
||||
use TheTempusProject\Houdini\Classes\Views;
|
||||
|
||||
class Error extends Controller {
|
||||
public function index() {
|
||||
self::$title = 'Error';
|
||||
self::$pageDescription = 'The application has encountered an error.';
|
||||
Views::view( 'errors.generic' );
|
||||
}
|
||||
|
||||
public function upload404() {
|
||||
Views::view( 'errors.upload404' );
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user