From 509faa93f3b05e3deb890a4ebc3c9cb72084cbbc Mon Sep 17 00:00:00 2001 From: zhanglingsheng Date: Mon, 25 Nov 2019 21:11:52 +0800 Subject: [PATCH] =?UTF-8?q?H5=E9=A1=B5=E9=9D=A2=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/GameController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/GameController.class.php b/Application/Sdk/Controller/GameController.class.php index 57701102..276b594e 100644 --- a/Application/Sdk/Controller/GameController.class.php +++ b/Application/Sdk/Controller/GameController.class.php @@ -254,7 +254,8 @@ class GameController extends BaseController{ $ball_status = M('config','sys_')->where(['name' => 'WAP_SUSPEND_SHWO_STATUS'])->getField('value'); $sites_ball_logo = M('config','sys_')->where(['name' => 'WAP_SUSPEND_ICON'])->getField('value'); - $sites_ball_logo = get_cover( $sites_ball_logo ,'path'); + $ball = get_cover( $sites_ball_logo ,'path'); + $sites_ball_logo = (substr($ball, 0, 7) == "http://" || substr($ball, 0, 8) == "https://" ) ? $ball : C('ADMIN_DOMAIN') . $ball; if(strpos($sites_ball_logo, 'http')!==false){ $sites_ball_logo = $sites_ball_logo; }else{