summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Whitcroft <hello@adamwhitcroft.com>2015-05-27 10:29:00 +0100
committerAdam Whitcroft <hello@adamwhitcroft.com>2015-05-27 10:29:00 +0100
commitf8c0cf10934f7600477a779c0b1ea60f059cdd89 (patch)
tree24ea1f6620b6e895e1498fa02feba4c09b84edb6
parent130f3a1c5a99a45d30fbf58ec6de52b86f2a0c9a (diff)
parentee99a0a13bd244e54be62b641bc6021b7fca8272 (diff)
downloadApaxy-f8c0cf10934f7600477a779c0b1ea60f059cdd89.zip
Apaxy-f8c0cf10934f7600477a779c0b1ea60f059cdd89.tar.gz
Apaxy-f8c0cf10934f7600477a779c0b1ea60f059cdd89.tar.bz2
Merge pull request #32 from UksusoFF/master
Update htaccess.txt - added `AddIconByType` directive.
-rw-r--r--apaxy/htaccess.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/apaxy/htaccess.txt b/apaxy/htaccess.txt
index 0a958fd..a24660a 100644
--- a/apaxy/htaccess.txt
+++ b/apaxy/htaccess.txt
@@ -32,6 +32,11 @@
AddIcon /{FOLDERNAME}/theme/icons/blank.png ^^BLANKICON^^
AddIcon /{FOLDERNAME}/theme/icons/folder.png ^^DIRECTORY^^
AddIcon /{FOLDERNAME}/theme/icons/folder-home.png ..
+
+ AddIconByType (TXT,/{FOLDERNAME}/theme/icons/text.png) text/*
+ AddIconByType (IMG,/{FOLDERNAME}/theme/icons/image.png) image/*
+ AddIconByType (SND,/{FOLDERNAME}/theme/icons/audio.png) audio/*
+ AddIconByType (VID,/{FOLDERNAME}/theme/icons/video.png) video/*
#
# EXTENSION SPECIFIC ICONS