diff --git a/application/controllers/information.php b/application/controllers/information.php index 5b745cfb..5d636a57 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -2941,10 +2941,10 @@ class Information extends CI_Controller { } //主样式表,内联模式 - if (is_file('D:/wwwroot/origin-www.thailandhighlights.com/css/mobile-first.css')) { //主样式表,内联模式,优先读取本地,没有在从网络读取,为了加速 - $main_css_string = compress_css(file_get_contents('D:/wwwroot/origin-www.thailandhighlights.com/css/mobile-first.css')); + if (is_file('D:/wwwroot/origin-www.thailandhighlights.com/css/th-mobile-first.css')) { //主样式表,内联模式,优先读取本地,没有在从网络读取,为了加速 + $main_css_string = compress_css(file_get_contents('D:/wwwroot/origin-www.thailandhighlights.com/css/th-mobile-first.css')); } else { - $main_css_string = compress_css(GET_HTTP('https://proxy-data.thailandhighlights.com/css/mobile-first.css')); + $main_css_string = compress_css(GET_HTTP('https://proxy-data.thailandhighlights.com/css/th-mobile-first.css')); } $template = str_replace('', '', $template); //额外样式 @@ -4671,7 +4671,7 @@ class Information extends CI_Controller { $DayTripData["InfoData"] = $InfoData; //传递信息平台数据 - + $linktour = get_meta($information->ic_id, 'meta_trainspread_linktour'); //关联线路 if (! empty($linktour)) { $paramCode = $productCode . "," . $linktour;