Skip to content

Commit c55d4ac

Browse files
enhancement(lint): Fix lint errors for public/gh/index.php
Co-authored-by: NeonGamerBot-QK <[email protected]> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
1 parent e2f0e7a commit c55d4ac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

public/gh/index.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
2-
$url = $_SERVER['REQUEST_URI'];
3-
$parts = explode('?', $url);
4-
$repo = $parts[1];
5-
if($repo == '') {
2+
$url = $_SERVER["REQUEST_URI"];
3+
$parts = explode("?", $url);
4+
$repo = $parts[1];
5+
if ($repo == "") {
66
header("Location: https://github.com/NeonGamerBot-QK", true, 301);
77
} else {
8-
header("Location: https://github.com/NeonGamerBot-QK/" . $repo, true, 301);
8+
header("Location: https://github.com/NeonGamerBot-QK/" . $repo, true, 301);
99
}
1010
?>

0 commit comments

Comments
 (0)