- Timestamp:
- 2014-03-14T22:46:25+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/recpt/rssaction.cpp
r27095 r28899 70 70 << " <link>_httpdomain__httppageabout_</link>\n" 71 71 << " <description>_collectionextra_</description>\n" 72 << " <language>_cgiargl _</language>\n"72 << " <language>_cgiarglHtmlsafe_</language>\n" 73 73 << " <pubDate>Thu, 23 Aug 1999 07:00:00 GMT</pubDate>\n" 74 74 << " <lastBuildDate>Thu, 23 Aug 1999 16:20:26 GMT</lastBuildDate>\n" … … 122 122 // If ever adding a custom macro file like rss.dm that mentions the package, need to list rss.dm in etc/main.cfg 123 123 124 if(disp.havemacro("Global", "httpdomain") == 0) { // if using rss package, will check rss and Global packages in order. And if not found:124 if(disp.havemacro("Global", "httpdomain") == 0) { // if using rss package, will check rss and Global packages in order. And if not found: 125 125 126 126 if(!args["hostname"].empty()) { 127 disp.setmacro("httpdomain", "Global", "http://" + args["hostname"]);127 disp.setmacro("httpdomain", "Global", "http://" + encodeForURL(args["hostname"])); 128 128 } 129 129 else { // we shouldn't have to get here
Note:
See TracChangeset
for help on using the changeset viewer.