mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
>_>
This commit is contained in:
1 parent
a4cbfcd99a
commit
e1f4db63e0
1 file changed
+1
-1
+1
-1
@@ -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>");
|
||||
|
||||
Reference in new issue
Block a user