1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +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

@@ -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'))