url을 생성하는 로직에서 hostname을 빼도록 한 부분의 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4279 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-06-12 07:10:57 +00:00
parent c8a119b01b
commit 3977e71a5a

View file

@ -656,9 +656,7 @@
break;
}
if($use_ssl) return sprintf("%s://%s%s",'https',$_SERVER['HTTP_HOST'], getScriptPath());
return getScriptPath();
return sprintf("%s://%s%s",$use_ssl?'https':'http',$_SERVER['HTTP_HOST'], getScriptPath());
}
/**