Sfoglia il codice sorgente

The images did not appear on the feed, fixed

pecesama 18 anni fa
parent
commit
ce0f575da3
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      rss.php

+ 2 - 1
rss.php Vedi File

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"])."\"";