From a5235f5cdc947acb843645f6c01bd65fd8cec56d Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 27 Sep 2016 19:05:03 +0200 Subject: Drop plain text error handling Signed-off-by: Florian Pritz --- application/errors/error_general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application') diff --git a/application/errors/error_general.php b/application/errors/error_general.php index e372cfa7f..7dac0c529 100644 --- a/application/errors/error_general.php +++ b/application/errors/error_general.php @@ -11,7 +11,7 @@ if (class_exists("CI_Controller") && !isset($GLOBALS["is_error_page"])) { $CI->load->helper("filebin"); $CI->load->helper("url"); - if (is_cli_client() || $CI->input->is_cli_request()) { + if ($CI->input->is_cli_request()) { $message = str_replace("

", "

\n", $message); $message = strip_tags($message); echo "$heading: $message\n"; -- cgit v1.2.3-24-g4f1b