aboutsummaryrefslogtreecommitdiffstats
path: root/403.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 /403.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 '403.php')
-rw-r--r--403.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/403.php b/403.php
index 7f914c0..24789a9 100644
--- a/403.php
+++ b/403.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