From 70f28676088eeda6e58ee5d9246d0b3637c270b0 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 24 Aug 2006 10:49:03 +0000 Subject: contrib/feed-browser/update.php: fix path to db --- contrib/feed-browser/update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/feed-browser/update.php b/contrib/feed-browser/update.php index dab8bb260b..c32e1804cc 100644 --- a/contrib/feed-browser/update.php +++ b/contrib/feed-browser/update.php @@ -151,7 +151,7 @@ function insert_ipkgs ($package, $version, $depends, $section, $arch, $maintaine function db_query($query) { - $db_name = "/home/koen/feeds.db"; + $db_name = "./feeds.db"; $db_h = sqlite_open($db_name); $query_h = sqlite_query ($db_h, $query); $result = sqlite_fetch_all ($query_h, SQLITE_ASSOC); @@ -162,7 +162,7 @@ function db_query($query) function db_query_n($query) { - $db_name = "/home/koen/feeds.db"; + $db_name = "./feeds.db"; $db_h = sqlite_open($db_name); $query_h = sqlite_query ($db_h, $query); sqlite_close($db_h); -- cgit v1.2.3