From 8e8f7ff7ce5ededa9ac158bc2cbd618adf4f2ce9 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Mon, 21 Mar 2005 04:18:33 +0000 Subject: Remove need to reboot after changing webgui protocol --- usr/local/www/system.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr/local/www') 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) { webGUI protocol - > - HTTP     > + > + HTTP     > HTTPS -- cgit v1.1