mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-20 12:52:12 +02:00
Release 1.5.0, merged in r688-867.
- LanguageFactory::instance() declared static - HTMLModuleManagerTest pass by reference bug fixed, merge back into trunk scheduled git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/branches/strict@869 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -51,6 +51,9 @@ $test_file_lookup = array_flip($test_files);
|
||||
// determine test file
|
||||
if (isset($_GET['f']) && isset($test_file_lookup[$_GET['f']])) {
|
||||
$GLOBALS['HTMLPurifierTest']['File'] = $_GET['f'];
|
||||
} elseif (isset($argv[1]) && isset($test_file_lookup[$argv[1]])) {
|
||||
// command-line
|
||||
$GLOBALS['HTMLPurifierTest']['File'] = $argv[1];
|
||||
} else {
|
||||
$GLOBALS['HTMLPurifierTest']['File'] = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user