0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-08 14:58:42 +00:00

Expand flush capabilities of unit tester

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1560 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-02-17 18:28:35 +00:00
parent 4c24a51054
commit a3b6a15595

View File

@ -52,8 +52,11 @@ if (!$AC['disable-phpt']) {
$phpt->php = $AC['php'];
}
// clean out cache if necessary
if ($AC['flush']) shell_exec($AC['php'] . ' ../maintenance/flush-definition-cache.php');
if ($AC['flush']) {
shell_exec($AC['php'] . ' ../maintenance/generate-schema-cache.php');
shell_exec($AC['php'] . ' ../maintenance/flush-definition-cache.php');
shell_exec($AC['php'] . ' ../maintenance/merge-library.php');
}
// initialize and load HTML Purifier
// use ?standalone to load the alterative standalone stub