2 HTMLPurifier.standalone.php with HTMLPURIFIER_PREFIX loading test
5 define('HTMLPURIFIER_PREFIX', realpath('../library'));
6 require '../library/HTMLPurifier.path.php';
7 require 'HTMLPurifier.standalone.php';
8 require 'HTMLPurifier/Filter/YouTube.php';
9 require 'HTMLPurifier/PHPT/loading/_no-autoload.inc';
10 $config = HTMLPurifier_Config::createDefault();
11 $purifier = new HTMLPurifier($config);
12 echo $purifier->purify('<b>Salsa!');
13 assert('in_array(realpath("../library/HTMLPurifier/Filter/YouTube.php"), get_included_files())');