Browse Source

Merge pull request #1219 in BA/design from ~PLOUGH/design:release/9.0 to release/9.0

* commit '17b133f214ccf7f605b2c6b1deb81e18ad877185':
  无JIRA任务,默认工作目录的国际化问题
master
superman 7 years ago
parent
commit
e9c3960916
  1. 2
      designer_base/src/com/fr/design/DesignerEnvManager.java

2
designer_base/src/com/fr/design/DesignerEnvManager.java

@ -139,7 +139,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
if (designerEnvManager.nameEnvMap.size() <= 0) { if (designerEnvManager.nameEnvMap.size() <= 0) {
String installHome = StableUtils.getInstallHome(); String installHome = StableUtils.getInstallHome();
if (installHome != null) { if (installHome != null) {
String name = Inter.getLocText("FR-Designer_DEFAULT"); String name = Inter.getLocText("FR-Engine_DEFAULT");
String envPath = StableUtils.pathJoin(new String[]{installHome, ProjectConstants.WEBAPP_NAME, ProjectConstants.WEBINF_NAME}); String envPath = StableUtils.pathJoin(new String[]{installHome, ProjectConstants.WEBAPP_NAME, ProjectConstants.WEBINF_NAME});
designerEnvManager.putEnv(name, LocalEnv.createEnv(envPath)); designerEnvManager.putEnv(name, LocalEnv.createEnv(envPath));
designerEnvManager.setCurEnvName(name); designerEnvManager.setCurEnvName(name);

Loading…
Cancel
Save