summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-09-24 15:44:34 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-09-24 15:44:34 +0200
commit853a8d3ce79494f2a34ec408cecaab9c119cb4fb (patch)
treef355141760490dd298e853a3426f7d2c5e3b9d41
parent42ff43992437ed2c0bc27b7464107d9c207b8fb6 (diff)
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 <bluewind@xinu.at>
-rw-r--r--application/core/MY_Controller.php1
1 files changed, 0 insertions, 1 deletions
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") {