fix: fix the search page title

This commit is contained in:
Dorian Niemiec 2024-12-27 16:22:53 +01:00
parent 032148ccf8
commit 3f0e74c96c

View file

@ -1,7 +1,7 @@
<?php
$searchQuery = isset($_GET['q']) && $_GET['q'] ? $_GET['q'] : "";
if (!defined('SVRJS_MOD_DIRECTORY')) die;
$pageTitle = $searchQuery ? "$searchQuery - Search" : $searchQuery;
$pageTitle = $searchQuery ? "$searchQuery - Search" : "Search";
$pageDescription = "Search for SVR.JS mods";
include 'header.php';
?>