Commit f63bda16 authored by vogelor's avatar vogelor
Browse files

fixed two missing globals ;-(

parent 51cf609f
...@@ -1070,6 +1070,7 @@ class monitor_tools { ...@@ -1070,6 +1070,7 @@ class monitor_tools {
} }
public function monitorSysLog() { public function monitorSysLog() {
global $app;
global $conf; global $conf;
/* the id of the server as int */ /* the id of the server as int */
......
...@@ -76,6 +76,7 @@ class monitor_core_module { ...@@ -76,6 +76,7 @@ class monitor_core_module {
*/ */
// TODO: what monitoring is done should be a config-var // TODO: what monitoring is done should be a config-var
private function _doMonitor() { private function _doMonitor() {
global $app;
/* /*
* We need the tools in almost every method, so initialize them once... * We need the tools in almost every method, so initialize them once...
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment