忽略德语站AMP批量更新

ct-mobile-first
LMR 5 years ago
parent e3e0107fe4
commit 80a208e707

@ -143,7 +143,7 @@ class Cache extends CI_Controller
$path[] = "$dir/$f";
$this->tree("$dir/$f", $file, $path, $file_time);
} else {
if ($f != '.' && $f != '..' && (strpos($dir, '/cn/') === false) && (strpos($dir, '/amp/') === false) && (strpos($f, '.pdf') === false) && (strpos($f, '.mobile.htm') === false) && (strpos($dir, '/js/') === false)) {
if ($f != '.' && $f != '..' && (strpos($f, '/cn/') === false) && (strpos($f, '/amp/') === false) && (strpos($f, '.pdf') === false) && (strpos($f, '.mobile.htm') === false) && (strpos($f, '/js/') === false) && (strpos($f, '.amp') === false)) {
$file_temp = str_replace('/index.htm###', '', $f . '###');
$file_temp = str_replace('###', '', $file_temp);
$path_temp = str_replace($this->dir, '', $dir);

Loading…
Cancel
Save