aboutsummaryrefslogtreecommitdiffstats
path: root/system/page
diff options
context:
space:
mode:
Diffstat (limited to 'system/page')
-rw-r--r--system/page/list.php2
-rw-r--r--system/page/main.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/page/list.php b/system/page/list.php
index 7c3956e..0879065 100644
--- a/system/page/list.php
+++ b/system/page/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/page/main.php b/system/page/main.php
index 28de93a..22d0ec7 100644
--- a/system/page/main.php
+++ b/system/page/main.php
@@ -78,7 +78,7 @@ catch(Page\Exception $Exception) {
}
catch(Page\Exception $Exception) {
- Application::exit(404);
+ Application::error404();
}
}