mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-02-02 04:33:38 +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,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);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue