comparison mgallery.php @ 247:384a8ed6687d

Remove mb_internal_encoding($pageCharset), PHP7 hasn't got that anymore.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 02 Jun 2018 19:23:19 +0300
parents 548a349bc015
children 2656b64c4c04
comparison
equal deleted inserted replaced
246:548a349bc015 247:384a8ed6687d
432 // 432 //
433 if (!isset($localeInited) || !$localeInited) 433 if (!isset($localeInited) || !$localeInited)
434 { 434 {
435 $localeInited = TRUE; 435 $localeInited = TRUE;
436 $pageCharset = "UTF-8"; 436 $pageCharset = "UTF-8";
437
438 mb_internal_encoding($pageCharset);
439 437
440 $tmp = "en_US.".strtolower(str_replace("-", "", $pageCharset)); 438 $tmp = "en_US.".strtolower(str_replace("-", "", $pageCharset));
441 setlocale(LC_ALL, $tmp); 439 setlocale(LC_ALL, $tmp);
442 } 440 }
443 441