summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-09-21 18:03:09 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-09-21 18:11:50 +0200
commitd8978f969093cc1d244a4a293d8135f0a4029109 (patch)
treeec4d7620b6c18d4efe8b3d897b5b823d201212f6 /application/views
parent92409440c400f7364c77d8bddc2c4f7ffcf3334e (diff)
Remove usage of deprecated is_cli_request()
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views')
-rw-r--r--application/views/errors/html/error_general.php2
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";