From 853a8d3ce79494f2a34ec408cecaab9c119cb4fb Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 24 Sep 2018 15:44:34 +0200 Subject: Remove unnecessary set of MB encoding There are no more MB related functions used in the application code base so this can go away. It was used by the plain text API which has been removed in v2.0.0. Signed-off-by: Florian Pritz --- application/core/MY_Controller.php | 1 - 1 file changed, 1 deletion(-) diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php index 463a4df64..a3b6d15d7 100644 --- a/application/core/MY_Controller.php +++ b/application/core/MY_Controller.php @@ -27,7 +27,6 @@ class MY_Controller extends CI_Controller { $old_path = getenv("PATH"); putenv("PATH=$old_path:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"); - mb_internal_encoding('UTF-8'); $this->load->helper(array('form', 'filebin')); if ($this->uri->segment(1) == "api") { -- cgit v1.2.3-24-g4f1b