summaryrefslogtreecommitdiffstats
path: root/code/nav.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-03-04 15:41:05 +0100
committerneoraider <devnull@localhost>2006-03-04 15:41:05 +0100
commit75057f07edfe2fd8cad316701555b7a56dc01da6 (patch)
treece5b3d47874d2eeebfd8f000f828259f722263af /code/nav.inc.php
parentcea3e4c0de51683979fdad6868c9e383e9039f10 (diff)
downloadneon-75057f07edfe2fd8cad316701555b7a56dc01da6.tar
neon-75057f07edfe2fd8cad316701555b7a56dc01da6.zip
Unnoetige DB-Klasse entfernt + alle Aufrufe auf AdoDB umgestellt;
Unquote-Funktion hinzugefuegt
Diffstat (limited to 'code/nav.inc.php')
-rw-r--r--code/nav.inc.php4
1 files changed, 2 insertions, 2 deletions
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]);