diff options
author | V.Krishn <vkrishn4@gmail.com> | 2020-01-27 22:10:43 +0530 |
---|---|---|
committer | V.Krishn <vkrishn4@gmail.com> | 2020-01-27 22:10:43 +0530 |
commit | 8a1a16a63a87d79436e2e89f3294c6ba10200925 (patch) | |
tree | 4e2fd98f4a43b9d89902b02a7e26177527e48500 | |
parent | dc365c18f135e7bdd065d4caa60f6f872daa6f15 (diff) | |
download | nbreader-8a1a16a63a87d79436e2e89f3294c6ba10200925.tar.bz2 |
add icon vnd.microsoft.icon, code clean
-rw-r--r--[-rwxr-xr-x] | public/index.php | 0 | ||||
-rw-r--r-- | scripts/feedicon.sh | 3 |
2 files changed, 1 insertions, 2 deletions
diff --git a/public/index.php b/public/index.php index 9e729ad..9e729ad 100755..100644 --- a/public/index.php +++ b/public/index.php diff --git a/scripts/feedicon.sh b/scripts/feedicon.sh index efbc5f0..c136aae 100644 --- a/scripts/feedicon.sh +++ b/scripts/feedicon.sh @@ -110,7 +110,7 @@ is_file_ico() { # test for .ico file case $mime in - x-icon|x-ms-bmp|png|gif|jpeg) iconType=$mime; return 0 ;; + x-icon|vnd.microsoft.icon|x-ms-bmp|png|gif|jpeg) iconType=$mime; return 0 ;; esac return 1; } @@ -156,7 +156,6 @@ clean_temp_icon() { } get_feedicon() { - # get "$url/favicon.ico" parse_url $1 BURL=${proto}${host} |