Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/org/jahia/portlet/jforum In directory james.mmbase.org:/tmp/cvs-serv24906/src/java/org/jahia/portlet/jforum
Modified Files: JForumPortletBridge.java Log Message: CMSC-915,JForum: externalize database and other configuration settings to the context files See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/org/jahia/portlet/jforum See also: http://www.mmbase.org/jira/browse/CMSC-915 Index: JForumPortletBridge.java =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Portlets/portlets-jforum/src/java/org/jahia/portlet/jforum/JForumPortletBridge.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- JForumPortletBridge.java 30 May 2008 07:53:49 -0000 1.3 +++ JForumPortletBridge.java 30 May 2008 08:03:22 -0000 1.4 @@ -504,7 +504,7 @@ private void install(HttpServletResponseWrapper respW, HttpServletRequestWrapper reqW,String language,String charset) { reqW.setAttribute("language", language); - reqW.setAttribute("database", "mysql"); + reqW.setAttribute("database", StringUtils.isEmpty(SystemGlobals.getValue("database.driver.name"))?"mysql":SystemGlobals.getValue("database.driver.name")); reqW.setAttribute("dbencoding", StringUtils.isEmpty(charset)?"utf-8":charset); reqW.setAttribute("dbencoding_other", ""); reqW.setAttribute("use_pool", "true"); _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs