Weiterer fix f. ccm-ldn-theme, Korrektur fest kodiereter Pfade, noch quick and very dirty!
git-svn-id: https://svn.libreccm.org/ccm/trunk@201 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
13d832807b
commit
5d5c67db9a
|
|
@ -28,7 +28,7 @@ public interface ThemeConstants {
|
||||||
// TODO: it would be nice if this value in com.arsdigita.web.URL
|
// TODO: it would be nice if this value in com.arsdigita.web.URL
|
||||||
// was public
|
// was public
|
||||||
public final static String CCM_PREFIX = "__ccm__";
|
public final static String CCM_PREFIX = "__ccm__";
|
||||||
public final static String WEB_APP_NAME = "ccm-ldn-theme";
|
public final static String WEB_APP_NAME = "ROOT";
|
||||||
|
|
||||||
// The location of the sync jsp used to sync up the multiple servers.
|
// The location of the sync jsp used to sync up the multiple servers.
|
||||||
public final static String SYNC_JSP = "sync-theme.jsp";
|
public final static String SYNC_JSP = "sync-theme.jsp";
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,8 @@ public class ThemeXSLParameterGenerator implements XSLParameterGenerator,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (themeURL != null) {
|
if (themeURL != null) {
|
||||||
return "/" + WEB_APP_NAME + "/" + CCM_PREFIX + "/" +
|
// return "/" + WEB_APP_NAME + "/" + CCM_PREFIX + "/" +
|
||||||
|
return "/" + CCM_PREFIX + "/" +
|
||||||
Web.getContext().getRequestURL().getContextPath() +
|
Web.getContext().getRequestURL().getContextPath() +
|
||||||
baseDir + themeURL;
|
baseDir + themeURL;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue