enhancement(lint): Fix lint errors for public/gh/index.php
Some checks failed
publish / publish-docker-image (push) Has been cancelled
Remote Deploy / Build & deploy (push) Has been cancelled

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:
zeon-neon[bot] 2025-01-30 23:04:08 +00:00 committed by GitHub
parent e2f0e7ab9c
commit c55d4ac9fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,10 @@
<?php <?php
$url = $_SERVER['REQUEST_URI']; $url = $_SERVER["REQUEST_URI"];
$parts = explode('?', $url); $parts = explode("?", $url);
$repo = $parts[1]; $repo = $parts[1];
if($repo == '') { if ($repo == "") {
header("Location: https://github.com/NeonGamerBot-QK", true, 301); header("Location: https://github.com/NeonGamerBot-QK", true, 301);
} else { } else {
header("Location: https://github.com/NeonGamerBot-QK/" . $repo, true, 301); header("Location: https://github.com/NeonGamerBot-QK/" . $repo, true, 301);
} }
?> ?>