diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-07-05 15:37:56 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-07-05 15:37:56 +0000 |
commit | 50fbbdb83e90403447b95b326ebe825ea325e605 (patch) | |
tree | 140d2e8cca86f024db22136904bb0b1a358ccc5a /contrib/feed-browser/update.php | |
parent | 66f69d475f74260170e0703e670a9870ab087f29 (diff) |
feed-browser: exit if database cannot be found or created
Diffstat (limited to 'contrib/feed-browser/update.php')
-rw-r--r-- | contrib/feed-browser/update.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/feed-browser/update.php b/contrib/feed-browser/update.php index ed67d3b78a..387acf9caa 100644 --- a/contrib/feed-browser/update.php +++ b/contrib/feed-browser/update.php @@ -37,7 +37,10 @@ require_once 'includes/functions.inc'; Description: IPv4 link-local address allocator */ -check_database(); +if(!check_database()) +{ + die("Database not found and cannot be created."); +} $feeds = db_query("SELECT f_id, f_name, f_uri FROM feeds"); |