summaryrefslogtreecommitdiff
path: root/program/include/iniset.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-09 12:54:21 +0000
committeralecpl <alec@alec.pl>2008-10-09 12:54:21 +0000
commitd99b9356c3d59c1eb3d0a05216d119daefaf28e3 (patch)
treee651138de125dc5310f70c11aaa9fa762ee5388d /program/include/iniset.php
parent70087c52bc89879b8b42c422392aecf3976bbb08 (diff)
- set mbstring's internal encoding in proper place
Diffstat (limited to 'program/include/iniset.php')
-rwxr-xr-xprogram/include/iniset.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index 5fe10114d..f81c04a90 100755
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -62,6 +62,11 @@ if (!ini_get('safe_mode')) {
set_time_limit(120);
}
+// set internal encoding for mbstring extension
+if(extension_loaded('mbstring'))
+ mb_internal_encoding(RCMAIL_CHARSET);
+
+
/**
* Use PHP5 autoload for dynamic class loading
*