From a01112942026cbaf26702df4391f65b0f47e7dab Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 16 Nov 2005 18:18:15 +0100 Subject: [PATCH] sql-ize opml.php --- opml.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opml.php b/opml.php index 2e87c037..89f9a946 100644 --- a/opml.php +++ b/opml.php @@ -9,6 +9,7 @@ require_once "config.php"; require_once "db.php"; + require_once "db-prefs.php"; $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); @@ -94,7 +95,7 @@

Importing OPML...

"; - if (WEB_DEMO_MODE) { + if (get_pref($link, 'WEB_DEMO_MODE')) { print "OPML import is disabled in demo-mode."; print "

Return to preferences

"; -- 2.39.2