From: Andrew Dolgov Date: Wed, 16 Nov 2005 17:18:15 +0000 (+0100) Subject: sql-ize opml.php X-Git-Tag: schema_feature_freeze_for_1.1~285 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a01112942026cbaf26702df4391f65b0f47e7dab;p=tt-rss.git sql-ize opml.php --- 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

";