mirror of
https://github.com/oupala/apaxy.git
synced 2025-08-09 15:06:46 +02:00
Merge pull request #133 from HorlogeSkynet/develop
Fixes favicon not loaded when using a subdirectory
This commit is contained in:
@@ -19,11 +19,13 @@ Options +Indexes
|
|||||||
# index options
|
# index options
|
||||||
IndexOptions +Charset=UTF-8 +FancyIndexing +FoldersFirst +HTMLTable +IconsAreLinks +IgnoreCase +NameWidth=* +SuppressDescription +SuppressRules +XHTML
|
IndexOptions +Charset=UTF-8 +FancyIndexing +FoldersFirst +HTMLTable +IconsAreLinks +IgnoreCase +NameWidth=* +SuppressDescription +SuppressRules +XHTML
|
||||||
|
|
||||||
# meta viewport
|
# favicon & meta viewport
|
||||||
IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />"
|
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
|
# hide ".htaccess" file and "/theme" directory
|
||||||
IndexIgnore .htaccess favicon.ico /theme
|
IndexIgnore .htaccess /theme
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -123,7 +125,7 @@ AddIconByType (audio,{FOLDERNAME}/theme/icons/audio.png) audio/*
|
|||||||
AddIconByType (playlist,{FOLDERNAME}/theme/icons/video.png) video/vnd.mpegurl
|
AddIconByType (playlist,{FOLDERNAME}/theme/icons/video.png) video/vnd.mpegurl
|
||||||
|
|
||||||
# all video
|
# all video
|
||||||
# ext: 3g2 3gp h261 h263 h264 jpgv jpm jpgm mj2 mjp2 mp4 mp4v mpg4 mpeg mpg mpe m1v m2v ogv qt mov uvh uvvh uvm uvvm uvp uvvp uvs uvvs uvv uvvv dvb fvt mxu m4u pyv uvu uvvu viv webm f4v fli flv m4v mkv mk3d mks mng asf asx avi vob wmv wm wmx wvx movie smv
|
# ext: 3g2 3gp h261 h263 h264 jpgv jpm jpgm mj2 mjp2 mp4 mp4v mpg4 mpeg mpg mpe m1v m2v ogv qt mov uvh uvvh uvm uvvm uvp uvvp uvs uvvs uvv uvvv dvb fvt mxu m4u pyv uvu uvvu viv webm f4v fli flv m4v mkv mk3d mks mng asf asx avi vob wmv wm wmx wvx movie smv
|
||||||
AddIconByType (video,{FOLDERNAME}/theme/icons/video.png) video/*
|
AddIconByType (video,{FOLDERNAME}/theme/icons/video.png) video/*
|
||||||
|
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Reference in New Issue
Block a user