aboutsummaryrefslogtreecommitdiffstats
path: root/lib/htmlpurifier/tests/HTMLPurifier/PHPT/loading/path-includes-autoload.phpt
blob: 6120956c603fca52cf18b40d4360985e6b70c8b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
HTMLPurifier.path.php, HTMLPurifier.includes.php and HTMLPurifier.autoload.php loading test
--FILE--
<?php
require '../library/HTMLPurifier.path.php';
require 'HTMLPurifier.includes.php';
require 'HTMLPurifier.autoload.php';
require 'HTMLPurifier/PHPT/loading/_autoload.inc';
$config = HTMLPurifier_Config::createDefault();
$purifier = new HTMLPurifier($config);
echo $purifier->purify('<b>Salsa!');

--EXPECT--
<b>Salsa!</b>