mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-02-01 20:23:39 +00:00
enhancement(lint): Fix lint errors for public/gh/index.php
Co-authored-by: NeonGamerBot-QK <neon@saahild.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
e2f0e7ab9c
commit
c55d4ac9fc
1 changed files with 5 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
$url = $_SERVER['REQUEST_URI'];
|
||||
$parts = explode('?', $url);
|
||||
$url = $_SERVER["REQUEST_URI"];
|
||||
$parts = explode("?", $url);
|
||||
$repo = $parts[1];
|
||||
if($repo == '') {
|
||||
if ($repo == "") {
|
||||
header("Location: https://github.com/NeonGamerBot-QK", true, 301);
|
||||
} else {
|
||||
header("Location: https://github.com/NeonGamerBot-QK/" . $repo, true, 301);
|
||||
|
|
Loading…
Reference in a new issue