Commit 967ff403 authored by Thiago Camargo's avatar Thiago Camargo Committed by thiago

Set Server Enable just after set all properties.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6600 b35dd754-fafc-0310-a699-88a17e54d16e
parent 59e84539
......@@ -42,8 +42,6 @@
JiveGlobals.setProperty("mediaproxy.enabled", String.valueOf(enabled));
mediaProxyService.setEnabled(enabled);
if (minPort > 0 && maxPort > 0) {
if (maxPort - minPort > 1000) {
mediaProxyService.setMinPort(minPort);
......@@ -53,6 +51,8 @@
}
}
mediaProxyService.setEnabled(enabled);
success = true;
}
......@@ -111,7 +111,7 @@
align="left">
<input type="text" size="5" maxlength="10" name="port"
value="<%= 38 %>" >
value="<%= 38 %>">
</td>
</tr>
<tr valign="middle">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment