mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 11:52:20 +01:00 
			
		
		
		
	Déploiement sur le serveur du TFJM²
This commit is contained in:
		@@ -59,7 +59,7 @@ foreach ($ROUTES as $route => $file) {
 | 
			
		||||
			$_GET[$file[$i]] = $matches[$i];
 | 
			
		||||
 | 
			
		||||
		if (!preg_match("#php$#", $file[0])) {
 | 
			
		||||
			header("Content-Type: " . $matches[1]);
 | 
			
		||||
			header("Content-Type: " . $file[1]);
 | 
			
		||||
			readfile($file[0]);
 | 
			
		||||
			exit();
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user