From 6ab76b11b1ef8dbb1bbdef8bf2502a7df2c2c471 Mon Sep 17 00:00:00 2001 From: IoTcat Date: Sat, 23 Mar 2019 22:18:07 +0800 Subject: [PATCH] =?UTF-8?q?handsome=20=E9=9A=8F=E6=9C=BA=E5=B0=8F=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/home/www/IoTgod-www/usr/themes/handsome/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/cn/home/www/IoTgod-www/usr/themes/handsome/functions.php b/server/cn/home/www/IoTgod-www/usr/themes/handsome/functions.php index 777816c..4721364 100644 --- a/server/cn/home/www/IoTgod-www/usr/themes/handsome/functions.php +++ b/server/cn/home/www/IoTgod-www/usr/themes/handsome/functions.php @@ -697,8 +697,8 @@ WebP function showSidebarThumbnail($widget, $index = 0) { - $randomNum = unserialize(SIDEBAR_IMAGE_ARRAY); - $random = THEME_URL . 'usr/img/sj2/' . $randomNum[$index] . '.jpg'; // 随机缩略图路径 + //$randomNum = unserialize(SIDEBAR_IMAGE_ARRAY); + $random = /*THEME_URL . */'https://image.yimian.xyz/acg/head/'. /*$randomNum[$index] */mt_rand(1,130). '.png'; // 随机缩略图路径 //正则匹配 主题目录下的/images/sj2/的图片(以数字按顺序命名) return $random;