mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-11 00:24:03 +02:00
Remove includes from unit tests.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1569 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
* - file (f), a single file to test
|
||||
* - xml, whether or not to output XML
|
||||
* - dry, whether or not to do a dry run
|
||||
*
|
||||
* @warning File setup does not exactly match with autoloader; make sure that
|
||||
* non-test classes (i.e. classes that are not retrieved using
|
||||
* $test_files) do not have underscores in their names.
|
||||
*/
|
||||
|
||||
define('HTMLPurifierTest', 1);
|
||||
@@ -56,8 +60,6 @@ if ($AC['disable-phpt'] && $AC['only-phpt']) {
|
||||
// initialize and load HTML Purifier
|
||||
// use ?standalone to load the alterative standalone stub
|
||||
if ($AC['standalone']) {
|
||||
// :TODO: This line is pretty important; please document!
|
||||
set_include_path(realpath('../library/standalone') . PATH_SEPARATOR . realpath('blanks') . PATH_SEPARATOR . get_include_path());
|
||||
require '../library/HTMLPurifier.standalone.php';
|
||||
} else {
|
||||
require '../library/HTMLPurifier.path.php';
|
||||
|
Reference in New Issue
Block a user