diff options
Diffstat (limited to 'admin/page')
-rw-r--r-- | admin/page/delete.php | 2 | ||||
-rw-r--r-- | admin/page/index.php | 2 | ||||
-rw-r--r-- | admin/page/update.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/admin/page/delete.php b/admin/page/delete.php index 163bbdb..33d30a5 100644 --- a/admin/page/delete.php +++ b/admin/page/delete.php @@ -66,7 +66,7 @@ try { # CATCH: Page\Exception #=============================================================================== catch(Page\Exception $Exception) { - Application::exit(404); + Application::error404(); } ?> diff --git a/admin/page/index.php b/admin/page/index.php index 56233a9..9a9bdfa 100644 --- a/admin/page/index.php +++ b/admin/page/index.php @@ -19,7 +19,7 @@ $currentSite = HTTP::GET('site') ?? 1; $currentSite = abs(intval($currentSite)); if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) { - Application::exit(404); + Application::error404(); } #=============================================================================== diff --git a/admin/page/update.php b/admin/page/update.php index 857631d..03f05ef 100644 --- a/admin/page/update.php +++ b/admin/page/update.php @@ -91,6 +91,6 @@ try { # CATCH: Page\Exception #=============================================================================== catch(Page\Exception $Exception) { - Application::exit(404); + Application::error404(); } ?>
\ No newline at end of file |