1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 17:44:37 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-09 14:08:28 -08:00
parent c083ae5800
commit 465cc393cf
4 changed files with 7 additions and 4 deletions

View File

@@ -1056,7 +1056,10 @@ class e_file
@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
while (ob_get_length() !== false) // destroy all ouput buffering
{
ob_end_clean();
}
@ob_implicit_flush(TRUE);