From 59236c21956299f7fb28c527857b66a2c47ef777 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Fri, 20 Nov 2015 08:24:10 -0500 Subject: Move timeout value to PHP definition for easier modification --- src/usr/local/www/reboot.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/usr/local/www/reboot.php b/src/usr/local/www/reboot.php index 9e2ef9d..ac9bc4f 100755 --- a/src/usr/local/www/reboot.php +++ b/src/usr/local/www/reboot.php @@ -70,6 +70,8 @@ require("guiconfig.inc"); require("functions.inc"); require("captiveportal.inc"); +$guitimeout = 120; // Seconds to wait before reloading the page after reboot + $pgtitle = array(gettext("Diagnostics"),gettext("Reboot System")); include("head.inc"); @@ -91,16 +93,14 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { -- cgit v1.1