From 75057f07edfe2fd8cad316701555b7a56dc01da6 Mon Sep 17 00:00:00 2001 From: neoraider Date: Sat, 4 Mar 2006 14:41:05 +0000 Subject: Unnoetige DB-Klasse entfernt + alle Aufrufe auf AdoDB umgestellt; Unquote-Funktion hinzugefuegt --- code/nav.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/nav.inc.php') diff --git a/code/nav.inc.php b/code/nav.inc.php index 1a4a5bd..642efe0 100644 --- a/code/nav.inc.php +++ b/code/nav.inc.php @@ -2,13 +2,13 @@ if(!defined('NAV_INC')) { define('NAV_INC', 1); - include('code/links.inc.php'); + require_once('code/links.inc.php'); class Nav { var $entries = array(); function Nav() { - $res = $GLOBALS['db']->Query('SELECT * FROM nav ORDER BY id'); + $res = $GLOBALS['db']->Execute('SELECT * FROM nav ORDER BY id'); while(!$res->EOF) { $this->entries[$res->fields[0]] = new NavEntry($res->fields[1], $res->fields[2], $res->fields[3]); -- cgit v1.2.3