From 371fb7c3d23e2f81b6536233d1bac46b8dae6ff0 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 10 Sep 2006 22:40:18 +0000 Subject: [PATCH] Remove cli conditional code. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@404 48356398-32a2-884e-a903-53898d9a118a --- configdoc/generate.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/configdoc/generate.php b/configdoc/generate.php index 54b40ede..86106ee2 100644 --- a/configdoc/generate.php +++ b/configdoc/generate.php @@ -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);