|
|
@ -256,11 +256,7 @@ class GameController extends BaseController{
|
|
|
|
$sites_ball_logo = M('config','sys_')->where(['name' => 'WAP_SUSPEND_ICON'])->getField('value');
|
|
|
|
$sites_ball_logo = M('config','sys_')->where(['name' => 'WAP_SUSPEND_ICON'])->getField('value');
|
|
|
|
$ball = 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;
|
|
|
|
$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{
|
|
|
|
|
|
|
|
$sites_ball_logo = C('ADMIN_DOMAIN').$sites_ball_logo;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ret = [
|
|
|
|
$ret = [
|
|
|
|
'sites_ball_logo' => $sites_ball_logo,
|
|
|
|
'sites_ball_logo' => $sites_ball_logo,
|
|
|
|