소스 검색

The images did not appear on the feed, fixed

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

+ 2 - 1
rss.php 파일 보기

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