From 81745ce738542b6a8fc8523ead13d91c5a246cd5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 16 Nov 2011 10:46:11 +0400 Subject: finally rename icons/ (fixes #272) --- .gitignore | 2 +- config.php-dist | 7 ++----- debian/tt-rss-common.postinst | 4 ++-- debian/tt-rss-common.postrm | 2 +- feed-icons/.empty | 0 icons/.empty | 0 6 files changed, 6 insertions(+), 9 deletions(-) create mode 100644 feed-icons/.empty delete mode 100644 icons/.empty 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/feed-icons/.empty b/feed-icons/.empty new file mode 100644 index 000000000..e69de29bb diff --git a/icons/.empty b/icons/.empty deleted file mode 100644 index e69de29bb..000000000 -- cgit v1.2.3