Initial commit

This commit is contained in:
Joey Kimsey
2024-08-04 21:15:59 -04:00
parent c9d1fb983f
commit 0d469501ee
695 changed files with 70184 additions and 71 deletions

27
app/controllers/error.php Normal file
View 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' );
}
}