mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Code cleanup
This commit is contained in:
@@ -82,7 +82,10 @@ function e_jslib_cache_out()
|
||||
if ($cacheFile)
|
||||
{
|
||||
//kill any output buffering - better performance and 304 not modified requirement
|
||||
while (@ob_end_clean());
|
||||
while (ob_get_length() !== false) // destroy all ouput buffering
|
||||
{
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
/* IT CAUSES GREAT TROUBLES ON SOME BROWSERS!
|
||||
if (function_exists('date_default_timezone_set'))
|
||||
|
Reference in New Issue
Block a user