diff --git a/includes/app.php b/includes/app.php index 20fa812..d5a284a 100644 --- a/includes/app.php +++ b/includes/app.php @@ -90,7 +90,7 @@ class app private function checkIfFilterNeeded() { - if(in_array("HTTP_X_GITEA_DELIVERY",$_SERVER)) + if(array_key_exists("HTTP_X_GITEA_DELIVERY",$_SERVER)) { return 'gitea'; }