fix: fix the search page title
This commit is contained in:
parent
032148ccf8
commit
3f0e74c96c
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
$searchQuery = isset($_GET['q']) && $_GET['q'] ? $_GET['q'] : "";
|
$searchQuery = isset($_GET['q']) && $_GET['q'] ? $_GET['q'] : "";
|
||||||
if (!defined('SVRJS_MOD_DIRECTORY')) die;
|
if (!defined('SVRJS_MOD_DIRECTORY')) die;
|
||||||
$pageTitle = $searchQuery ? "$searchQuery - Search" : $searchQuery;
|
$pageTitle = $searchQuery ? "$searchQuery - Search" : "Search";
|
||||||
$pageDescription = "Search for SVR.JS mods";
|
$pageDescription = "Search for SVR.JS mods";
|
||||||
include 'header.php';
|
include 'header.php';
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue