mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
의도치 않았던 커밋 되돌림
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6716 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2ee3844935
commit
5cbb53e178
1 changed files with 0 additions and 9 deletions
|
|
@ -60,15 +60,6 @@
|
||||||
$src = str_replace('&', '&', $src);
|
$src = str_replace('&', '&', $src);
|
||||||
|
|
||||||
if(!$alt) $alt = $src;
|
if(!$alt) $alt = $src;
|
||||||
// 이미지 주소를 request uri가 포함된 주소로 변환 (rss출력, 등등을 위함)
|
|
||||||
$temp_src = explode('/', $src);
|
|
||||||
if($temp_src[0]=='.') $src = Context::getRequestUri().substr($src, 2);
|
|
||||||
elseif(substr($src , 0 , 1)=='/') {
|
|
||||||
if($_SERVER['HTTPS']=='on') $http_src = 'https://';
|
|
||||||
else $http_src = 'http://';
|
|
||||||
$src = $http_src.$_SERVER['HTTP_HOST'].$src;
|
|
||||||
}
|
|
||||||
elseif(!strpos($temp_src[0],':') && $src) $src = Context::getRequestUri().$src;
|
|
||||||
|
|
||||||
$attr_output = array();
|
$attr_output = array();
|
||||||
$attr_output = array("src=\"".$src."\"");
|
$attr_output = array("src=\"".$src."\"");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue