mirror of
https://github.com/claradex/nativegallery.git
synced 2025-03-28 04:08:21 +03:00
20 lines
No EOL
333 B
PHP
20 lines
No EOL
333 B
PHP
<?php
|
|
namespace App\Controllers;
|
|
use \App\Services\{DB, Json};
|
|
use \App\Core\Router;
|
|
use \App\Core\Page;
|
|
|
|
class ExceptionRegister
|
|
{
|
|
public static function resolve($httpcode, $corecode) {
|
|
return Page::set('Errors/'.$corecode);
|
|
|
|
}
|
|
|
|
public static function notfound() {
|
|
Page::set('Errors/404');
|
|
}
|
|
|
|
|
|
|
|
} |