mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-05 21:57:26 +02:00
Make flush work with non-standard PHP binaries
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1661 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -198,7 +198,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', $out, $status);
|
||||
exec($php . ' ../maintenance/flush.php ' . $php, $out, $status);
|
||||
if ($status) {
|
||||
$test = new FailedTest(
|
||||
'maintenance/flush.php returned non-zero exit status',
|
||||
|
Reference in New Issue
Block a user