mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
[3.1.0] Create decorator validator/adapter for Interchange.
- Output flush output git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1587 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -71,7 +71,11 @@ require 'HTMLPurifier/Harness.php';
|
||||
// Shell-script code is executed
|
||||
|
||||
if ($AC['flush']) {
|
||||
shell_exec($AC['php'] . ' ../maintenance/flush.php');
|
||||
if (SimpleReporter::inCli() && !$AC['xml']) {
|
||||
passthru($AC['php'] . ' ../maintenance/flush.php');
|
||||
} else {
|
||||
shell_exec($AC['php'] . ' ../maintenance/flush.php');
|
||||
}
|
||||
}
|
||||
|
||||
// Now, userland code begins to be executed
|
||||
|
Reference in New Issue
Block a user