projects
/
tt-rss.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2188a8
)
sql-ize opml.php
author
Andrew Dolgov
<fox@bah.spb.su>
Wed, 16 Nov 2005 17:18:15 +0000
(18:18 +0100)
committer
Andrew Dolgov
<fox@bah.spb.su>
Wed, 16 Nov 2005 17:18:15 +0000
(18:18 +0100)
opml.php
patch
|
blob
|
history
diff --git
a/opml.php
b/opml.php
index 2e87c037a7aad4e000e4e915b87cd93912f2084f..89f9a94615a87f07985a3fc81911c13d789ff736 100644
(file)
--- 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
@@
<body><h1>Importing OPML...</h1>
<div>";
- if (
WEB_DEMO_MODE
) {
+ if (
get_pref($link, 'WEB_DEMO_MODE')
) {
print "OPML import is disabled in demo-mode.";
print "<p><a class=\"button\" href=\"prefs.php\">
Return to preferences</a></div></body></html>";