On Fri, Dec 5, 2008 at 1:06 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
tmortagne (SVN) wrote:
Author: tmortagne
Date: 2008-12-05 12:29:12 +0100 (Fri, 05 Dec 2008)
New Revision: 14570
Modified:
platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java
platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/web/XWikiRequestProcessor.java
Log:
XWIKI-2824: Support multiwiki using path urls and not host urls
* make action name for servlet configurable ("wiki" by default)
+
+ private String getProperty(String propertyKey, String defaultValue)
+ {
+ if (this.config == null) {
+ // Make XWikiRequestProcessor own configuration loader since XWiki of
Configuration component are not
+ // initialized at this time
This part should be synchronized, to prevent parallel initialization.
Or, load it in a constructor or static block (making the config static,
also).
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs