diff --git a/.gitignore b/.gitignore index c62024a37..9c7c138e8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ #* .idea/* config.php -icons/* +feed-icons/* cache/*/* lock/* tags diff --git a/config.php-dist b/config.php-dist index 7ecbad7fe..4e231a6f0 100644 --- a/config.php-dist +++ b/config.php-dist @@ -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 diff --git a/debian/tt-rss-common.postinst b/debian/tt-rss-common.postinst index 2b455cacb..15286c1fa 100644 --- a/debian/tt-rss-common.postinst +++ b/debian/tt-rss-common.postinst @@ -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 diff --git a/debian/tt-rss-common.postrm b/debian/tt-rss-common.postrm index c91674def..1911f0249 100644 --- a/debian/tt-rss-common.postrm +++ b/debian/tt-rss-common.postrm @@ -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 diff --git a/icons/.empty b/feed-icons/.empty similarity index 100% rename from icons/.empty rename to feed-icons/.empty