summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest/ogagent.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/rest/ogagent.php')
-rw-r--r--admin/WebConsole/rest/ogagent.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/WebConsole/rest/ogagent.php b/admin/WebConsole/rest/ogagent.php
index 6b87b098..76cfd00a 100644
--- a/admin/WebConsole/rest/ogagent.php
+++ b/admin/WebConsole/rest/ogagent.php
@@ -32,6 +32,7 @@ function writeLog($message = "") {
$app->post('/ogagent/started',
function() use ($app) {
global $cmd;
+ $secret = "";
$osType = $osVersion = "none";
try {
// Reading POST parameters in JSON format.
@@ -131,6 +132,7 @@ $app->post('/ogagent/stopped',
$app->post('/ogagent/loggedin',
function() use ($app) {
global $cmd;
+ $osType = $osVersion = "none";
$redirto = Array();
$result = Array();