Changeset 1604 for trunk/feed.php
- Timestamp:
- Nov 10, 2006, 2:10:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/feed.php
r1550 r1604 127 127 include_once(PHPWG_ROOT_PATH.'include/feedcreator.class.php'); 128 128 129 $base_url = 'http://'.$_SERVER["HTTP_HOST"].cookie_path();129 $base_url = get_host_url().cookie_path(); 130 130 if ( strrpos($base_url, '/') !== strlen($base_url)-1 ) 131 131 { … … 190 190 $result = pwg_query($query); 191 191 $dates = array(); 192 while ($row = mysql_fetch_a rray($result))192 while ($row = mysql_fetch_assoc($result)) 193 193 { 194 194 array_push($dates, $row); … … 233 233 ;'; 234 234 $result = pwg_query($query); 235 while ($row = mysql_fetch_a rray($result))235 while ($row = mysql_fetch_assoc($result)) 236 236 { 237 $tn_src = get_thumbnail_ src($row['path'], @$row['tn_ext']);237 $tn_src = get_thumbnail_url($row); 238 238 $item->description .= '<img src="'.$tn_src.'"/>'; 239 239 }
Note: See TracChangeset
for help on using the changeset viewer.