소스 검색

The images did not appear on the feed, fixed

pecesama 18 년 전
부모
커밋
ce0f575da3
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      rss.php

+ 2 - 1
rss.php 파일 보기

@@ -52,8 +52,9 @@ if(!defined('entry')) define('entry',true);
52 52
 					$desc = $register["description"];
53 53
 					break;
54 54
 				case "2":
55
+					$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
55 56
 					$tit = ($register["description"]=="") ? "Photo" : strip_tags($register["description"]);
56
-					$desc = "<img src=\"".$register["url"]."\"/>";
57
+					$desc = "<img src=\"".$photoPath."\"/>";
57 58
 					break;
58 59
 				case "3":
59 60
 					$tit = "\"".strip_tags($register["description"])."\"";