summaryrefslogtreecommitdiff
path: root/app/ui/search.php
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-10-31 17:04:34 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-10-31 17:04:34 +0100
commite61e581a2b66b0444db01d884465ea913929e343 (patch)
treeb49eaedb3681c4b26637acdd375cda4c3d37b07c /app/ui/search.php
parent41c51b8bdb9c8e9fa4a7d56f260d594739d4107e (diff)
downloadmist-e61e581a2b66b0444db01d884465ea913929e343.tar.gz
mist-e61e581a2b66b0444db01d884465ea913929e343.tar.bz2
mist-e61e581a2b66b0444db01d884465ea913929e343.zip
Updated 27 files, added 12 files and deleted 3 files (automated)
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">