summaryrefslogtreecommitdiff
path: root/app/ui/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/ui/search.php')
-rw-r--r--app/ui/search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/ui/search.php b/app/ui/search.php
index 0a1c3be..268ca5e 100644
--- a/app/ui/search.php
+++ b/app/ui/search.php
@@ -1,7 +1,7 @@
<?php header("X-Frame-Options: SAMEORIGIN"); require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php";
if (!isset($_GET["q"]) || trim($_GET["q"]) === "" || trim(preg_replace("/ +/m", " ", preg_replace("/[^a-z\d ]/m", " ", strtolower($_GET["q"])))) === "") {
- header("Location: explore.php");
+ header("Location: home.php");
die();
}
@@ -11,7 +11,7 @@ if (!isset($_GET["q"]) || trim($_GET["q"]) === "" || trim(preg_replace("/ +/m",
<head>
<script>
if (typeof window.parent.openModal === "undefined") {
- location.href = "/app/#/explore";
+ location.href = "/app/#/home";
}
</script>
<meta charset="UTF-8">