finally rename icons/ (fixes #272)

This commit is contained in:
Andrew Dolgov 2011-11-16 10:46:11 +04:00
parent e0d91d846d
commit 81745ce738
5 changed files with 6 additions and 9 deletions

2
.gitignore vendored
View File

@ -3,7 +3,7 @@
#*
.idea/*
config.php
icons/*
feed-icons/*
cache/*/*
lock/*
tags

View File

@ -26,14 +26,11 @@
// Note that you (or your users) also have to enable image caching
// in feed editor.
define('ICONS_DIR', "icons");
define('ICONS_URL', "icons");
define('ICONS_DIR', "feed-icons");
define('ICONS_URL', "feed-icons");
// Local and URL path to the directory, where feed favicons are stored.
// Unless you really know what you're doing, please keep those relative
// to tt-rss main directory.
// Please note that Apache may reserve /icons/ URL to itself so you might
// need to change this and rename icons/ directory if you install tt-rss
// into website root.
define('TMP_DIRECTORY', '/tmp');
// Directory for temporary files

View File

@ -13,8 +13,8 @@ case "$1" in
echo "create misc folders"
if [ ! -d /usr/share/tt-rss/www/icons/ ]; then
install -d -m775 -gwww-data /usr/share/tt-rss/www/icons
if [ ! -d /usr/share/tt-rss/www/feed-icons/ ]; then
install -d -m775 -gwww-data /usr/share/tt-rss/www/feed-icons
fi
if [ ! -d /var/lock/tt-rss ]; then

View File

@ -8,7 +8,7 @@ fi
if [ "$1" = "purge" ]; then
rm -rf /usr/share/tt-rss/www/icons
rm -rf /usr/share/tt-rss/www/feed-icons
rm -rf /var/lock/tt-rss
rm -rf /var/cache/tt-rss
fi