Module: nagvis Branch: nagvis-1.4 Commit: 2c583c09ccb565ecd63721ff05056f1285443c4e URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=2c583c09ccb565ecd63721ff05056f1285443c4e
Author: LaMi <[email protected]> Date: Sun Nov 22 22:15:25 2009 +0100 Added missing CORE instance --- .../includes/classes/GlobalBackendmklivestatus.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/nagvis/nagvis/includes/classes/GlobalBackendmklivestatus.php b/nagvis/nagvis/includes/classes/GlobalBackendmklivestatus.php index fa0eeb6..d476711 100644 --- a/nagvis/nagvis/includes/classes/GlobalBackendmklivestatus.php +++ b/nagvis/nagvis/includes/classes/GlobalBackendmklivestatus.php @@ -37,6 +37,7 @@ class GlobalBackendmklivestatus implements GlobalBackendInterface { private $backendId = ''; + private $CORE = null; private $SOCKET = null; private $socketType = ''; private $socketPath = ''; @@ -60,6 +61,8 @@ class GlobalBackendmklivestatus implements GlobalBackendInterface { */ public function __construct($CORE, $backendId) { $this->backendId = $backendId; + + $this->CORE = $CORE; // Parse the socket params $this->parseSocket($this->CORE->MAINCFG->getValue('backend_'.$backendId, 'socket')); ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
