aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMaZderMind2015-03-31 17:15:53 +0200
committerMaZderMind2015-03-31 17:15:53 +0200
commit2fc4bc9dca86d5a96a812cd23f1f5096f2dcc725 (patch)
tree6f8fd1b2368de005ae5f61e03e99a5b6d1b711e2 /index.php
parentbeb6da0a82c639b117e0e7521475a46731e68071 (diff)
Move Feedback-Availability Checks to View
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/index.php b/index.php
index b4c87ad..004716e 100644
--- a/index.php
+++ b/index.php
@@ -54,17 +54,11 @@ try {
else if(preg_match('@^feedback$@', $route, $m))
{
- if(!has('FEEDBACK'))
- return include('view/404.php');
-
include('view/feedback.php');
}
else if(preg_match('@^feedback/read$@', $route, $m))
{
- if(!has('FEEDBACK'))
- return include('view/404.php');
-
include('view/feedback-read.php');
}