summaryrefslogtreecommitdiff
path: root/search/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'search/index.php')
-rw-r--r--search/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/search/index.php b/search/index.php
index 8e0ed6e..6f7174d 100644
--- a/search/index.php
+++ b/search/index.php
@@ -1,5 +1,8 @@
<?php
+header("Location: /");
+die();
+
if (isset($_GET['q'])) {
if (trim($_GET['q']) === "") {
header("Location: /search");