Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cellophile
PersonaLink
Commits
4f756b61
Commit
4f756b61
authored
Jul 18, 2021
by
Cellophile
🎨
Browse files
Téléverser un nouveau fichier
parent
6eb77964
Changes
1
Hide whitespace changes
Inline
Side-by-side
traitement.php
0 → 100644
View file @
4f756b61
<?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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment