mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-04 13:18:00 +02:00
Setup include web. Unit tests should now be able to be run independently.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@75 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -4,13 +4,15 @@
|
||||
|
||||
set_time_limit(5);
|
||||
|
||||
// emulates inserting a dir called HTMLPurifier into your class dir
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . '../../');
|
||||
|
||||
// PEAR
|
||||
require_once 'Benchmark/Timer.php';
|
||||
require_once 'XML/HTMLSax3.php';
|
||||
require_once 'Text/Password.php';
|
||||
|
||||
require_once '../Token.php';
|
||||
require_once '../Lexer.php';
|
||||
require_once 'HTMLPurifier/Lexer.php';
|
||||
|
||||
class TinyTimer extends Benchmark_Timer
|
||||
{
|
||||
|
Reference in New Issue
Block a user