1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-08-09 22:46:49 +02:00

Merge pull request #133 from HorlogeSkynet/develop

Fixes favicon not loaded when using a subdirectory
This commit is contained in:
oupala
2019-07-29 10:25:26 +02:00
committed by GitHub
2 changed files with 7 additions and 5 deletions

View File

@@ -19,11 +19,13 @@ Options +Indexes
# index options
IndexOptions +Charset=UTF-8 +FancyIndexing +FoldersFirst +HTMLTable +IconsAreLinks +IgnoreCase +NameWidth=* +SuppressDescription +SuppressRules +XHTML
# meta viewport
IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />"
# favicon & meta viewport
IndexHeadInsert "\
<link rel=\"shortcut icon\" href=\"{FOLDERNAME}/theme/favicon.ico\" />\
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />"
# hide ".htaccess" file, "favicon.ico" file and "/theme" directory
IndexIgnore .htaccess favicon.ico /theme
# hide ".htaccess" file and "/theme" directory
IndexIgnore .htaccess /theme
#

View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB