From 6cd1d53a56cf15db66f335c21c5b6caea46d9ab4 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 24 Feb 2026 09:50:54 +0800 Subject: [PATCH] mobile-first.css --- application/controllers/information.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 028b324a..549a983b 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -2932,10 +2932,10 @@ class Information extends CI_Controller { } //主样式表,内联模式 - 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')); + 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')); } else { - $main_css_string = compress_css(GET_HTTP('https://proxy-data.thailandhighlights.com/css/th-mobile-first.css')); + $main_css_string = compress_css(GET_HTTP('https://proxy-data.thailandhighlights.com/css/mobile-first.css')); } $template = str_replace('', '', $template); //额外样式