Support early versions of PHP5.2 (register_shutdown_function)

Signed-off-by: Ian P. Christian <ichristian@users.sf.net>
This commit is contained in:
Ian P. Christian 2015-01-07 08:03:09 -05:00 committed by Marc Delisle
parent 9b7fbe29ce
commit 394bf9183c

View File

@ -94,7 +94,7 @@ class PMA_OutputBuffering
if (! defined('TESTSUITE')) {
header('X-ob_mode: ' . $this->_mode);
}
register_shutdown_function('PMA_OutputBuffering::stop');
register_shutdown_function(array('PMA_OutputBuffering', 'stop'));
$this->_on = true;
}
}