diff options
Diffstat (limited to 'application/views')
-rw-r--r-- | application/views/errors/html/error_general.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/errors/html/error_general.php b/application/views/errors/html/error_general.php index 274322cbe..0f809dccd 100644 --- a/application/views/errors/html/error_general.php +++ b/application/views/errors/html/error_general.php @@ -12,7 +12,7 @@ if (class_exists("CI_Controller") && !isset($GLOBALS["is_error_page"]) && isset( $CI->load->helper("filebin"); $CI->load->helper("url"); - if ($CI->input->is_cli_request()) { + if (is_cli()) { $message = str_replace("</p>", "</p>\n", $message); $message = strip_tags($message); echo "$heading: $message\n"; |