summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-27 19:05:03 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-11-05 19:44:15 +0100
commita5235f5cdc947acb843645f6c01bd65fd8cec56d (patch)
tree560c2a9b75321757b70e6c2df02fb07cfd9adbb5 /application
parent53c8126583f33141014d0f86104637168571b89d (diff)
Drop plain text error handling
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/errors/error_general.php2
1 files changed, 1 insertions, 1 deletions
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("</p>", "</p>\n", $message);
$message = strip_tags($message);
echo "$heading: $message\n";