summaryrefslogtreecommitdiffstats
path: root/404.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-11 22:51:24 +0200
committerThomas Lange <code@nerdmind.de>2017-04-11 22:51:24 +0200
commit4802aeada5b8fde0848852ee56454c887738ead4 (patch)
tree1fef2384e734c9d3ee74eef74691af6fba431e93 /404.php
parente38d3ed0c779619c8260585f794931c8f55fdd54 (diff)
downloadblog-4802aeada5b8fde0848852ee56454c887738ead4.tar.gz
blog-4802aeada5b8fde0848852ee56454c887738ead4.tar.xz
blog-4802aeada5b8fde0848852ee56454c887738ead4.zip
The control structures "require_once" have been replaced by a simple "require" (except within the 403.php and 404.php where it makes sense, because these files can be directly called or included).
Diffstat (limited to '404.php')
-rw-r--r--404.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/404.php b/404.php
index 10e3716..a90803b 100644
--- a/404.php
+++ b/404.php
@@ -2,9 +2,7 @@
#===============================================================================
# INCLUDE: Main configuration
#===============================================================================
-if(!defined('ROOT')) {
- require_once 'core/application.php';
-}
+require_once 'core/application.php';
#===============================================================================
# Send HTTP status code