diff options
author | Nathan Kinkade <nath@nkinka.de> | 2012-05-12 13:06:18 +0000 |
---|---|---|
committer | Nathan Kinkade <nath@nkinka.de> | 2012-05-12 13:06:18 +0000 |
commit | f5098f54b8279f468d94747b1156e15ea05d6d25 (patch) | |
tree | 2ecfb6663887ffbc72de8f231864b6c78bd62640 /system/core | |
parent | a13fd7f373f3718037a2ce90a3cb408f24856602 (diff) | |
parent | d1390bd87db1a7e59bbd72f5991fbbc6374c98b4 (diff) |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Kohana.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/system/core/Kohana.php b/system/core/Kohana.php index f7f6b326..96d969ed 100644 --- a/system/core/Kohana.php +++ b/system/core/Kohana.php @@ -525,8 +525,12 @@ abstract class Kohana_Core { $close(); } - // Store the Kohana output buffer - ob_end_clean(); + // Store the Kohana output buffer. Apparently there was a change in PHP + // 5.4 such that if you call this you wind up with a blank page. + // Disabling it for now. See ticket #1839 + if (version_compare(PHP_VERSION, "5.4", "<")) { + ob_end_clean(); + } } } |