diff options
Diffstat (limited to 'system/post')
-rw-r--r-- | system/post/list.php | 2 | ||||
-rw-r--r-- | system/post/main.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system/post/list.php b/system/post/list.php index 7b0630c..908f7b8 100644 --- a/system/post/list.php +++ b/system/post/list.php @@ -14,7 +14,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/system/post/main.php b/system/post/main.php index 1797d67..0b69023 100644 --- a/system/post/main.php +++ b/system/post/main.php @@ -78,7 +78,7 @@ catch(Post\Exception $Exception) { } catch(Post\Exception $Exception) { - Application::exit(404); + Application::error404(); } } |