mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 00:41:52 +00:00
12b811d749
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
13 lines
359 B
PHP
13 lines
359 B
PHP
<?php
|
|
|
|
/**
|
|
* Tests if autoloading for HTML Purifier is enabled. If all tests pass,
|
|
* output is blank.
|
|
*/
|
|
|
|
assert("!in_array(realpath('../library/HTMLPurifier/Filter/YouTube.php'), get_included_files())");
|
|
new HTMLPurifier_Filter_YouTube();
|
|
assert(" in_array(realpath('../library/HTMLPurifier.autoload.php'), get_included_files())");
|
|
|
|
// vim: et sw=4 sts=4
|