- Timestamp:
- 2018-08-14T15:50:12+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/util/GlobalProperties.java
r27869 r32334 153 153 154 154 //protocol 155 if (properties.getProperty(" tomcat.protocol") == null || properties.getProperty("tomcat.protocol").equals(""))155 if (properties.getProperty("server.protocol") == null || properties.getProperty("server.protocol").equals("")) 156 156 { 157 157 protocolSpecifier = "http://"; … … 159 159 else 160 160 { 161 if (properties.getProperty(" tomcat.protocol").endsWith("://"))162 { 163 protocolSpecifier = properties.getProperty(" tomcat.protocol");161 if (properties.getProperty("server.protocol").endsWith("://")) 162 { 163 protocolSpecifier = properties.getProperty("server.protocol"); 164 164 } 165 165 else 166 166 { 167 protocolSpecifier = properties.getProperty(" tomcat.protocol") + "://";167 protocolSpecifier = properties.getProperty("server.protocol") + "://"; 168 168 } 169 169 }
Note:
See TracChangeset
for help on using the changeset viewer.