Changeset 1877 for trunk/gsdl/src/recpt/receptionist.cpp
- Timestamp:
- 2001-01-30T17:49:32+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/receptionist.cpp
r1870 r1877 1152 1152 if (collectproto != NULL) { 1153 1153 collectproto->get_collectinfo (collection, cinfo, err, logout); 1154 text_t httpcollection 1155 = "http://" + cinfo.httpdomain + cinfo.httpprefix 1156 +"/collect/" + collection; 1157 1154 text_t httpcollection; 1155 if (!cinfo.httpdomain.empty()) httpcollection = "http://"; 1156 httpcollection += cinfo.httpdomain + cinfo.httpprefix + "/collect/" + collection; 1158 1157 disp.setmacro ("httpcollection", "Global", httpcollection); 1159 1158 } … … 1235 1234 if (!iconcollection.empty()) 1236 1235 { 1237 if (iconcollection[0]=='/') 1236 ColInfoResponse_t cinfo; 1237 comerror_t err; 1238 collectproto->get_collectinfo (collection, cinfo, err, logout); 1239 if (iconcollection[0]=='/' && !cinfo.httpdomain.empty()) 1238 1240 { 1239 1241 // local but with full path 1240 ColInfoResponse_t cinfo;1241 comerror_t err;1242 collectproto->get_collectinfo (collection, cinfo, err, logout);1243 1242 iconcollection = "http://" + cinfo.httpdomain + iconcollection; 1244 disp.setmacro("iconcollection", "Global",iconcollection);1243 disp.setmacro("iconcollection", "Global", iconcollection); 1245 1244 } 1246 1245 }
Note:
See TracChangeset
for help on using the changeset viewer.