1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-04 06:12:14 +02:00

Déploiement sur le serveur du TFJM²

This commit is contained in:
galaxyoyo
2019-09-08 19:12:35 +02:00
parent 08d0726af4
commit 1bf0316f2b
3 changed files with 5 additions and 5 deletions

View File

@ -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();
}