mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-08 23:26:39 +02:00
Some maintenance script cleanup
- Create super-script flush.php - Rename old scripts with old- prefix. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1574 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -71,9 +71,7 @@ require 'HTMLPurifier/Harness.php';
|
||||
// Shell-script code is executed
|
||||
|
||||
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/generate-standalone.php');
|
||||
shell_exec($AC['php'] . ' ../maintenance/flush.php');
|
||||
}
|
||||
|
||||
// Now, userland code begins to be executed
|
||||
|
@@ -46,12 +46,8 @@ $aliases = array(
|
||||
);
|
||||
htmlpurifier_parse_args($AC, $aliases);
|
||||
|
||||
// Calls generate-includes.php automatically
|
||||
shell_exec($AC['php'] . ' ../maintenance/generate-standalone.php');
|
||||
|
||||
// Not strictly necessary, but its a good idea
|
||||
shell_exec($AC['php'] . ' ../maintenance/generate-schema-cache.php');
|
||||
shell_exec($AC['php'] . ' ../maintenance/flush-definition-cache.php');
|
||||
// Regenerate any necessary files
|
||||
shell_exec($AC['php'] . ' ../maintenance/flush.php');
|
||||
|
||||
$test = new TestSuite('HTML Purifier Multiple Versions Test');
|
||||
$file = '';
|
||||
|
Reference in New Issue
Block a user