Skip to content

Commit

Permalink
Dev: Deprecated issue with PHP 5.6 and up
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Jul 26, 2016
1 parent d510dcc commit 5472ee3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion application/config/internal.php
Expand Up @@ -22,7 +22,11 @@
if (function_exists('mb_internal_encoding')) {
// Needed to substring arabic etc
mb_internal_encoding('UTF-8');
ini_set('mbstring.internal_encoding','UTF-8');
if (ini_get('mbstring.internal_encoding'))
{
ini_set('mbstring.internal_encoding','UTF-8');
}

}
else {
// Do nothing, will be checked in installation
Expand Down

0 comments on commit 5472ee3

Please sign in to comment.