This commit is contained in:
Vasco Lavos committed 2014-06-14 15:28:03 +01:00
1 parent a4cbfcd99a
commit e1f4db63e0
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@
dl_mod($_GET['file']);
function dl_mod($mod) {
if(strlen($mod) > 0 && file_exists("files/$mod") && strpos($mod, "/") !== false) {
if(strlen($mod) > 0 && file_exists("files/$mod") && strpos($mod, "/") === false) {
increment_dl_counter($mod);
header("Location: files/$mod");
} else echo("Hm, doesn't seem like that file exists :( <br><a href='./'>Back</a>");