mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
Redirect stderr to stdout when calling flush.php
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
@@ -201,7 +201,7 @@ class FailedTest extends UnitTestCase {
|
||||
* Flushes all caches, and fatally errors out if there's a problem.
|
||||
*/
|
||||
function htmlpurifier_flush($php, $reporter) {
|
||||
exec($php . ' ../maintenance/flush.php ' . $php, $out, $status);
|
||||
exec($php . ' ../maintenance/flush.php ' . $php . ' 2>&1', $out, $status);
|
||||
if ($status) {
|
||||
$test = new FailedTest(
|
||||
'maintenance/flush.php returned non-zero exit status',
|
||||
|
Reference in New Issue
Block a user