summaryrefslogtreecommitdiffstats
path: root/app/index.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-10-27 01:33:30 -0400
committerMalf Furious <m@lfurio.us>2018-10-27 01:33:30 -0400
commite43272a592c06719ad0d84f9dd5e5790e1331a96 (patch)
treec7a167a0d0b1fec6fb175c6b0705e019bf52475e /app/index.php
parentb9783160efe6ab1d6084113fa5c0fa982404be53 (diff)
parent07c3bb3169bbc41ab9dc8aca312cb4f36581ccd4 (diff)
downloadscrott-e43272a592c06719ad0d84f9dd5e5790e1331a96.tar.gz
scrott-e43272a592c06719ad0d84f9dd5e5790e1331a96.zip
Merge branch 'feature/404-page' into dev
Signed-off-by: Malf Furious <m@lfurio.us>
Diffstat (limited to 'app/index.php')
-rw-r--r--app/index.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/index.php b/app/index.php
index 44c2de9..21f3036 100644
--- a/app/index.php
+++ b/app/index.php
@@ -115,6 +115,12 @@ function main(array $argv) : void
break;
}
}
+
+ /* page not found */
+ else
+ {
+ require "view/404.php";
+ }
}
}