0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +00:00

Slight adjustments to demo: reset to default time limit and send out a header indicating character encoding.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@338 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2006-08-29 19:06:43 +00:00
parent 670d298a87
commit 55503744ee

View File

@ -1,4 +1,8 @@
<!DOCTYPE html
<?php
header('Content-type:text/html;charset=UTF-8');
?><!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
@ -10,8 +14,6 @@
<h1>HTMLPurifier Live Demo</h1>
<?php
set_time_limit(120);
set_include_path('../../library' . PATH_SEPARATOR . get_include_path());
require_once 'HTMLPurifier.php';