Comment out this old system that isn't being used anymore

This commit is contained in:
Vasco Lavos committed 2018-08-27 22:30:25 +01:00
1 parent 13e3ab2aae
commit 0df5f64210
1 file changed
+3 -3
+3 -3
View File
@@ -1,7 +1,7 @@
<?php
header('Location: https://minecraft.curseforge.com/projects/botania');
if(isset($_GET['file']))
/*if(isset($_GET['file']))
dl_mod($_GET['file']);
function dl_mod($mod) {
if(strlen($mod) > 0 && file_exists("files/$mod") && strpos($mod, "/") === false) {
@@ -32,5 +32,5 @@
file_put_contents($file, '0');
return get_dls($mod);
}
*/
?>