diff options
Diffstat (limited to 'application')
-rwxr-xr-x | application/errors/error_general.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/errors/error_general.php b/application/errors/error_general.php index 1d33e8652..da3999cbd 100755 --- a/application/errors/error_general.php +++ b/application/errors/error_general.php @@ -10,8 +10,8 @@ if (class_exists("CI_Controller") && !isset($GLOBALS["is_error_page"])) { $CI->load->helper("url"); if (is_cli_client()) { - echo $heading."\n"; - echo $message."\n"; + $message = strip_tags($message); + echo "$heading: $message\n"; exit(); } |