From d23e5674d76cefa2e33fc4a26f282cd406b7e028 Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Mon, 10 Dec 2012 09:12:01 -0500
Subject: [PATCH] Fixed: database remote access was not activated on database creation if no remote ip was set
---
interface/web/monitor/show_sys_state.php | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/interface/web/monitor/show_sys_state.php b/interface/web/monitor/show_sys_state.php
index 43a9cc5..d251cdc 100644
--- a/interface/web/monitor/show_sys_state.php
+++ b/interface/web/monitor/show_sys_state.php
@@ -29,7 +29,6 @@
require_once('../../lib/config.inc.php');
require_once('../../lib/app.inc.php');
-require_once('tools.inc.php');
/* Check permissions for module */
$app->auth->check_module_permissions('monitor');
@@ -77,7 +76,7 @@
Attention: the core-module ist triggered every 5 minutes,
so reload every 2 minutes is impossible!
*/
-$refresh = (isset($_GET["refresh"]))?intval($_GET["refresh"]):0;
+$refresh = (isset($_GET["refresh"]))?$app->functions->intval($_GET["refresh"]):0;
$refresh_values = array('0' => '- '.$app->lng("No Refresh").' -','5' => '5 '.$app->lng("minutes"),'10' => '10 '.$app->lng("minutes"),'15' => '15 '.$app->lng("minutes"),'30' => '30 '.$app->lng("minutes"),'60' => '60 '.$app->lng("minutes"));
$tmp = '';
@@ -291,9 +290,9 @@
/*
* Finish all html's
*/
- $html_ve .= '</div></div></div>';
- $html_server .= '<div>##VE_INFO##</div></div></div></div>';
- $html_verbose .= '</div></div></div>';
+ $html_ve .= '</div></div>';
+ $html_server .= '<div>##VE_INFO##</div></div></div>';
+ $html_verbose .= '</div></div>';
/*
* create and return the result
--
Gitblit v1.9.1