mirror of
https://github.com/e107inc/e107.git
synced 2025-07-27 18:00:30 +02:00
php bbcode deprecated and request.php optimized
This commit is contained in:
@@ -349,9 +349,15 @@ function send_file($file)
|
||||
header("Location: ".SITEURL.$file);
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
@set_time_limit(10 * 60);
|
||||
@session_write_close();
|
||||
@e107_ini_set("max_execution_time", 10 * 60);
|
||||
while (@ob_end_clean()); // kill all output buffering else it eats server resources
|
||||
@ob_implicit_flush(TRUE);
|
||||
|
||||
|
||||
$filename = $file;
|
||||
$file = basename($file);
|
||||
$path = realpath($filename);
|
||||
|
Reference in New Issue
Block a user