1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-13 01:23:59 +02:00

- Rewrite command line parsing code to support --opt val

- Add $php settings variable

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1555 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-02-16 23:23:45 +00:00
parent 8c439aa62c
commit 9f851b2139
3 changed files with 40 additions and 14 deletions

View File

@@ -39,7 +39,7 @@ htmlpurifier_parse_args($AC, $aliases);
if (!SimpleReporter::inCli()) {
// Undo any dangerous parameters
$AC['php'] = 'php';
$AC['php'] = $php;
}
if ($AC['disable-phpt'] && $AC['only-phpt']) {