Revision 3674
Added by barteau almost 17 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
215 | 215 |
logMetacat.error("Error in loading options for skin " + "skinName" +" : " |
216 | 216 |
+ ioe.getMessage()); |
217 | 217 |
} |
218 |
MetaCatUtil.skinconfigs.put(skinName, skinOption); |
|
218 |
MetaCatUtil.addSkinConfig(skinName, skinOption); |
|
219 |
//MetaCatUtil.skinconfigs.put(skinName, skinOption); |
|
219 | 220 |
} |
220 | 221 |
|
221 | 222 |
/* |
... | ... | |
1642 | 1643 |
doc.toXml(out, user, groups, withInlineData); |
1643 | 1644 |
} else { |
1644 | 1645 |
//*** This is a metadata doc, to be returned in a skin/custom format. |
1645 |
|
|
1646 | 1646 |
//*** Add param to indicate if public has read access or not. |
1647 | 1647 |
if (!user.equals("public")) { |
1648 | 1648 |
if (DocumentImpl.hasReadPermission("public", null, docid)) |
Also available in: Unified diff
Modification for changes to the field "MetacatUtil.skinconfigs".