From cfa6fa1ada5d2ce89692b71094207aac39097032 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 13 Aug 2005 19:41:12 +0000 Subject: Switch operating mode cleaner and meta redirect at end of page Ticket #338 --- usr/local/www/system.php | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'usr/local/www/system.php') diff --git a/usr/local/www/system.php b/usr/local/www/system.php index befa263..e196b06 100755 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -146,16 +146,6 @@ if ($_POST) { if ($changecount > 0) write_config($changedesc); - // restart webgui if proto or port changed - if ($restart_webgui) { - global $_SERVER; - system_webgui_start(); - if ($pconfig['webguiport']) - header("Location: {$pconfig['webguiproto']}://{$_SERVER['SERVER_NAME']}:{$pconfig['webguiport']}/system.php"); - else - header("Location: {$pconfig['webguiproto']}://{$_SERVER['SERVER_NAME']}/system.php"); - } - $retval = 0; if (!file_exists($d_sysrebootreqd_path)) { config_lock(); @@ -283,3 +273,18 @@ include("head.inc"); +One moment... switching https mode/port...

"; + echo ""; + } + +?> \ No newline at end of file -- cgit v1.1