Fix gitea
This commit is contained in:
parent
aed6d04e19
commit
0f5c0a3dc4
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class app
|
||||||
private function checkIfFilterNeeded()
|
private function checkIfFilterNeeded()
|
||||||
{
|
{
|
||||||
|
|
||||||
if(in_array("HTTP_X_GITEA_DELIVERY",$_SERVER))
|
if(array_key_exists("HTTP_X_GITEA_DELIVERY",$_SERVER))
|
||||||
{
|
{
|
||||||
return 'gitea';
|
return 'gitea';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue