forked from HPR/hpr_hub
		
	Merge pull request 'Allow head method' (#78) from I77_Allow_head_requests_for_ccdn into main
Reviewed-on: HPR/hpr_hub#78
This commit is contained in:
		@@ -8,7 +8,7 @@ require "/home/hpr/php/include.php";
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
$ip = $_SERVER["REMOTE_ADDR"];
 | 
					$ip = $_SERVER["REMOTE_ADDR"];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if ( $_SERVER['REQUEST_METHOD'] !== 'GET' ) {
 | 
					if ( $_SERVER['REQUEST_METHOD'] !== 'GET' && $_SERVER['REQUEST_METHOD'] !== 'HEAD' ) {
 | 
				
			||||||
  naughty("34522f7b9ba88b319afa9f063b98905c");
 | 
					  naughty("34522f7b9ba88b319afa9f063b98905c");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user