Commit 4f756b61 authored by Cellophile's avatar Cellophile 🎨
Browse files

Téléverser un nouveau fichier

parent 6eb77964
<?php
include_once "config.php";
$uri = $_SERVER['REQUEST_URI'];
$filetest = __DIR__ . "/d".$uri.".php";
if (file_exists($filetest)) {
$file = "/d".$uri.".php";
header("location: ".$file);
exit();
}else{
header("location: ".$urlsite."index.php?echec=404");
exit();
}
?>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment