0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-01-03 05:11:52 +00:00

Remove cli conditional code.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@404 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2006-09-10 22:40:18 +00:00
parent 9e6953e619
commit 371fb7c3d2

View File

@ -10,12 +10,6 @@ TODO:
- determine how to multilingualize
*/
/*
if (php_sapi_name() != 'cli') {
header('Content-type:text/plain');
ini_set('html_errors', '0');
}
*/
if (version_compare('5', PHP_VERSION, '>')) exit('Requires PHP 5 or higher.');
error_reporting(E_ALL);