ct-mobile-first
LMR 5 years ago
parent bdab4b7f03
commit 0ffbd05e00

@ -151,9 +151,9 @@ class Cache extends CI_Controller
{
if ($f!='.' && $f!='..' && (strpos($dir, '/cn/')===false) && (strpos($dir, '/amp/')===false) && (strpos($f, '.pdf')===false))
{
$encode_f = mb_detect_encoding($f, array('ASCII','UTF-8','GB2312','GBK','BIG5'));
$encode_f = mb_detect_encoding($f);
$_f = mb_convert_encoding ($f, 'UTF-8', $encode_f);
$encode_d = mb_detect_encoding($dir, array('ASCII','UTF-8','GB2312','GBK','BIG5'));
$encode_d = mb_detect_encoding($dir);
$_dir = mb_convert_encoding ($dir, 'UTF-8', $encode_d);
echo($encode_f.'@@@'.$encode_d);

Loading…
Cancel
Save