mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
Various fixes:
- Resync standalone with includes - Fix error queue code - Fix heisenbug with flush and certain definition error messages - Fix premature $end in ini files - Make $php config variable actually do something git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1659 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -215,9 +215,8 @@ function htmlpurifier_flush($php, $reporter) {
|
||||
function htmlpurifier_dump_error_queue() {
|
||||
$context = SimpleTest::getContext();
|
||||
$queue = $context->get('SimpleErrorQueue');
|
||||
if ($queue && !empty($queue->_queue)) {
|
||||
// replace this with something prettier
|
||||
var_dump($queue->_queue);
|
||||
while (($error = $queue->extract()) !== false) {
|
||||
var_dump($error);
|
||||
}
|
||||
}
|
||||
register_shutdown_function('htmlpurifier_dump_error_queue');
|
||||
|
Reference in New Issue
Block a user