* Be sure PHP's safe mode is off.
*/
@set_time_limit(0);
- /* Remove errors. */
- @error_reporting(0);
/* Show admin interface if not downloading a file. */
if (!(isset($_POST['action']) && strcmp($_POST['action'], 'download') == 0)) {
$r = fopen(VAR_FILES . $p . $l['hash'], 'r');
while (!feof($r)) {
print fread($r, 1024);
- ob_flush();
}
fclose($r);
}