~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to libraries/ob.lib.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2009-12-08 18:35:56 UTC
  • mfrom: (1.2.6 upstream) (36.1.7 lucid)
  • Revision ID: james.westby@ubuntu.com-20091208183556-vr6gh28bmfe1rcps
Tags: 4:3.2.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 * Check for all the needed functions for output buffering
10
10
 * Make some wrappers for the top and bottoms of our files.
11
11
 *
12
 
 * @version $Id: ob.lib.php 11986 2008-11-24 11:05:40Z nijel $
 
12
 * @version $Id: ob.lib.php 13104 2009-11-05 10:00:51Z lem9 $
13
13
 * @package phpMyAdmin
14
14
 */
15
15
 
100
100
{
101
101
    if (ob_get_status() && PMA_outBufferModeGet()) {
102
102
        ob_flush();
103
 
    } else {
104
 
        flush();
105
103
    }
 
104
    /**
 
105
     * previously we had here an "else flush()" but some PHP versions
 
106
     * (at least PHP 5.2.11) have a bug (49816) that produces garbled
 
107
     * data
 
108
     */
106
109
} // end of the 'PMA_outBufferPost()' function
107
110
 
108
111
?>