summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-18 08:04:41 +0100
committerAndrew Dolgov <[email protected]>2005-11-18 08:04:41 +0100
commit273a2f6b43aae0c8a8ed0cfce767ddeedd26106d (patch)
tree48b967d0c7290ce254c88833cdda1d5c928b8808 /backend.php
parent8c7bbd2d4e35c4186d94661b3205d4523f84b558 (diff)
schema updates, ICONS_DIR/ICONS_URL moved to config.php
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend.php b/backend.php
index a8a94cf6e..ff43bc6fe 100644
--- a/backend.php
+++ b/backend.php
@@ -858,7 +858,7 @@
foreach ($ids as $id) {
db_query($link, "DELETE FROM ttrss_feeds WHERE id = '$id'");
- $icons_dir = get_pref($link, 'ICONS_DIR');
+ $icons_dir = ICONS_DIR;
if (file_exists($icons_dir . "/$id.ico")) {
unlink($icons_dir . "/$id.ico");
@@ -944,11 +944,11 @@
print "<tr class=\"$class\" id=\"FEEDR-$feed_id\">";
- $icon_file = get_pref($link, 'ICONS_DIR') . "/$feed_id.ico";
+ $icon_file = ICONS_DIR . "/$feed_id.ico";
if (file_exists($icon_file) && filesize($icon_file) > 0) {
$feed_icon = "<img width=\"16\" height=\"16\"
- src=\"" . get_pref($link, 'ICONS_URL') . "/$feed_id.ico\">";
+ src=\"" . ICONS_URL . "/$feed_id.ico\">";
} else {
$feed_icon = "&nbsp;";
}