summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest/common.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/rest/common.php')
-rw-r--r--admin/WebConsole/rest/common.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/common.php b/admin/WebConsole/rest/common.php
index bc39ced9..d26acc4b 100644
--- a/admin/WebConsole/rest/common.php
+++ b/admin/WebConsole/rest/common.php
@@ -248,6 +248,7 @@ $app->hook('slim.after', function() use ($app) {
* @return JSON object with basic server information (version, services, etc.)
*/
$app->get('/info', function() {
+ $hasOglive = false;
$response = new \stdClass;
// Reading version file.
$data = json_decode(@file_get_contents(VERSION_FILE));
@@ -293,4 +294,4 @@ $app->get('/status', function() {
jsonResponse(200, $response);
}
);
-?>
+