1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 00:30:09 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-18 19:55:12 -08:00
parent 2b8a3cff60
commit 5b82c292b1
80 changed files with 1888 additions and 1731 deletions

View File

@@ -265,8 +265,8 @@ if ($type == "file")
}
}
}
else if(strstr(e_QUERY, "pub_"))
{
//else if(strstr(e_QUERY, "pub_"))
// {
/* check to see if public upload and not in download table ... */
/*$bid = str_replace("pub_", "", e_QUERY);
if($result = @mysql_query("SELECT * FROM ".MPREFIX."rbinary WHERE binary_id = '$bid' "))
@@ -281,7 +281,7 @@ if ($type == "file")
echo $binary_data;
exit();
}*/
}
// }
$log->addError("Line".__LINE__.": Couldn't find ".e_DOWNLOAD.e_QUERY);