Author: sdumitriu Date: 2008-01-07 12:49:58 +0100 (Mon, 07 Jan 2008) New Revision: 6637
Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/XWikiConfig.java Log: XWIKI-1992: XWiki cannot tart when xwiki.cfg is missing Done. Modified: xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/XWikiConfig.java =================================================================== --- xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/XWikiConfig.java 2008-01-07 11:44:48 UTC (rev 6636) +++ xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/XWikiConfig.java 2008-01-07 11:49:58 UTC (rev 6637) @@ -54,7 +54,9 @@ public XWikiConfig(InputStream is) throws XWikiException { - loadConfig(is, ""); + if (is != null) { + loadConfig(is, ""); + } } public void loadConfig(InputStream is, String path) throws XWikiException _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications