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.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/ogagent.php b/admin/WebConsole/rest/ogagent.php
index 6b87b098..be62a8d0 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();
@@ -269,4 +271,4 @@ EOD;
}
);
-?>
+