mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-02-02 04:33:38 +00:00
Create index.php (#15)
This commit is contained in:
parent
7a6f27c274
commit
e2f0e7ab9c
1 changed files with 10 additions and 0 deletions
10
public/gh/index.php
Normal file
10
public/gh/index.php
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<?php
|
||||||
|
$url = $_SERVER['REQUEST_URI'];
|
||||||
|
$parts = explode('?', $url);
|
||||||
|
$repo = $parts[1];
|
||||||
|
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