Fix two minor bugs, updating Phorum and removing unused $dir variable.
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / PHPT / loading / safe-includes.phpt
blobcb6f95d53c0d28f1286f2066d0398f5ddde198d2
1 --TEST--
2 HTMLPurifier.safe-includes.php loading test
3 --FILE--
4 <?php
5 require_once '../library/HTMLPurifier.php'; // Tests for require_once
6 require_once '../library/HTMLPurifier.safe-includes.php';
7 require 'HTMLPurifier/PHPT/loading/_no-autoload.inc';
8 $config = HTMLPurifier_Config::createDefault();
9 $purifier = new HTMLPurifier($config);
10 echo $purifier->purify('<b>Salsa!');
11 --EXPECT--
12 <b>Salsa!</b>