Kaydet (Commit) 678de995 authored tarafından Ali GOREN's avatar Ali GOREN Kaydeden (comit) GitHub

Update fd.php

üst da8b8f4b
......@@ -3,6 +3,7 @@
$f = $_GET['f'];
$f_ex = explode('.', $f);
// get file extension
$f_ex = end($f_ex);
if ($f_ex === "zip") {
......@@ -31,4 +32,4 @@ if ($f_ex === "zip") {
} else {
header('Location: ../error');
}
?>
\ No newline at end of file
?>
Markdown is supported
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