Subversion-Projekte lars-tiefland.nagios-php

Revision

Revision 1 | Revision 8 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1 Revision 6
Zeile 5... Zeile 5...
5
	require_once "classes/host.php";
5
	require_once "classes/host.php";
6
	require_once "classes/service.php";
6
	require_once "classes/service.php";
Zeile 7... Zeile 7...
7
 
7
 
8
	$GLOBALS["ui"] = new Smarty();
8
	$GLOBALS["ui"] = new Smarty();
9
	$cfg = new Config();
9
	$cfg = new Config();
10
	$cfg = $cfg->parseConfig("connect.xml","xml");
10
	$cfg = $cfg->parseConfig("config.xml","xml");
11
	$cfg = $cfg->toArray();
11
	$cfg = $cfg->toArray();
12
	$GLOBALS["cfg"] = $cfg["root"]["config"];
12
	$GLOBALS["cfg"] = $cfg["root"]["config"];
13
        $opts = array( "persistent" => true, "portability" =>
13
        $opts = array( "persistent" => true, "portability" =>
14
                MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL ^
14
                MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL ^