summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authortiyowan <tiyowan@gmail.com>2012-03-12 18:31:21 +0100
committertiyowan <tiyowan@gmail.com>2012-03-12 18:31:21 +0100
commit3055e1fa227125383fb1fdbb3dd674aaaaf62184 (patch)
treecbd08966705269f8a3ffe399affada61dae6d6a7 /system/core
parent39c87da04cca69aa0767afb1152f21ed4424db86 (diff)
Revert "Re-add UTF8_ENABLED constant"
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Utf8.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/core/Utf8.php b/system/core/Utf8.php
index 21bac6078..1d5dfc20d 100644
--- a/system/core/Utf8.php
+++ b/system/core/Utf8.php
@@ -57,8 +57,7 @@ class CI_Utf8 {
&& @ini_get('mbstring.func_overload') != 1 // Multibyte string function overloading cannot be enabled
&& $CFG->item('charset') === 'UTF-8' // Application charset must be UTF-8
)
- {
- define('UTF8_ENABLED', TRUE);
+ {
log_message('debug', 'UTF-8 Support Enabled');
// set internal encoding for multibyte string functions if necessary
@@ -69,7 +68,6 @@ class CI_Utf8 {
}
else
{
- define('UTF8_ENABLED', FALSE);
log_message('debug', 'UTF-8 Support Disabled');
}
}