Index: ssts-web/src/main/webapp/themes/portalPage/img/logo_Forgon.png =================================================================== diff -u Binary files differ Index: ssts-web/src/main/webapp/homepage/portalPage.jsp =================================================================== diff -u -r13808 -r14060 --- ssts-web/src/main/webapp/homepage/portalPage.jsp (.../portalPage.jsp) (revision 13808) +++ ssts-web/src/main/webapp/homepage/portalPage.jsp (.../portalPage.jsp) (revision 14060) @@ -7,6 +7,7 @@ <%@ page import="com.forgon.tools.SpringBeanManger,com.forgon.directory.vo.LoginUserData,com.forgon.portal.action.PortalPageAction"%> <%@ page import="java.util.Date"%> <%@ include file="/common/taglibs.jsp"%> +<%@page import="java.io.File" %> <% PortalPageAction portalPageAction = (PortalPageAction)SpringBeanManger.getBean("portalPageAction"); @@ -36,6 +37,15 @@ String loginUserDataJsonStr = JSONObject.fromObject(userData).toString(); request.setAttribute("loginUserDataJsonStr",loginUserDataJsonStr); + String project = CssdUtils.getConfigProperty("project"); + String imgPath = "disinfectsystem/config/" + project + "/img/logo_" + project +".png"; + File file = new File(application.getRealPath("/") + imgPath); + if(file.exists()){ + request.setAttribute("logoPath",imgPath); + }else{ + request.setAttribute("logoPath","themes/portalPage/img/logo_Forgon.png"); + } + %> @@ -334,7 +344,9 @@ + src="${ctx}/${logoPath}" width="215" height="55" vertical="middle"/> +