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