summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-21 04:18:33 +0000
committerBill Marquette <billm@pfsense.org>2005-03-21 04:18:33 +0000
commit8e8f7ff7ce5ededa9ac158bc2cbd618adf4f2ce9 (patch)
tree2c72508da5c1859c59316b7839d8ad107072a0d6
parent989c87f327acc3f5d46ab982992a849257edc99b (diff)
downloadpfsense-8e8f7ff7ce5ededa9ac158bc2cbd618adf4f2ce9.zip
pfsense-8e8f7ff7ce5ededa9ac158bc2cbd618adf4f2ce9.tar.gz
Remove need to reboot after changing webgui protocol
-rwxr-xr-xusr/local/www/system.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index 40ed989..7c045fd 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -134,9 +134,10 @@ if ($_POST) {
write_config();
+ // restart webgui if proto changed
if (($oldwebguiproto != $config['system']['webgui']['protocol']) ||
($oldwebguiport != $config['system']['webgui']['port']))
- touch($d_sysrebootreqd_path);
+ system_webgui_start();
$retval = 0;
if (!file_exists($d_sysrebootreqd_path)) {
@@ -222,8 +223,8 @@ if ($_POST) {
</tr>
<tr>
<td width="22%" valign="top" class="vncell">webGUI protocol</td>
- <td width="78%" class="vtable"> <input name="webguiproto" type="radio" value="http" <?php if ($pconfig['webguiproto'] == "http") echo "checked"; ?>>
- HTTP &nbsp;&nbsp;&nbsp; <input type="radio" name="webguiproto" value="https" <?php if ($pconfig['webguiproto'] == "https") echo "checked"; ?>>
+ <td width="78%" class="vtable"> <input name="webguiproto" type="radio" value="http" onclick="alert('webGUI protocol changes will take effect immediately after clicking save')" <?php if ($pconfig['webguiproto'] == "http") echo "checked"; ?>>
+ HTTP &nbsp;&nbsp;&nbsp; <input type="radio" name="webguiproto" value="https" onclick="alert('webGUI protocol changes will take effect immediately after clicking save')" <?php if ($pconfig['webguiproto'] == "https") echo "checked"; ?>>
HTTPS</td>
</tr>
<tr>
OpenPOWER on IntegriCloud