Commit 0a94a2f9 authored by 吴贤德's avatar 吴贤德

中心接口:图片cache链接修改

parent ed38bdb4
...@@ -275,7 +275,7 @@ class CenterAction extends Action ...@@ -275,7 +275,7 @@ class CenterAction extends Action
} }
function remakeImageUrlForCache($url){ function remakeImageUrlForCache($url){
$imageDomain="image.hotel.wasu.tv"; $imageDomain="image.hotel.wasu.tv";
if ($url!="" || !is_null($url)){ if ($url!="" && !is_null($url)){
$url="http://$imageDomain/".substr($url,7); $url="http://$imageDomain/".substr($url,7);
}else{ }else{
$url = ""; $url = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment