summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-07-01 13:47:08 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-07-01 13:47:08 (GMT)
commitff234345cd9dc21fe2f5fd26ee720279fd9712b9 (patch)
treeea54f44adc8649f49f6767dc6f85de6d351c3063 /lib
parentc00d57e47af5d3c1ca685a32c40b74c46ed3d5ae (diff)
downloadkolab-chwala-ff234345cd9dc21fe2f5fd26ee720279fd9712b9.tar.gz
Open application/x-empty files with text editor
Diffstat (limited to 'lib')
-rw-r--r--lib/viewers/text.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/viewers/text.php b/lib/viewers/text.php
index 4963406..718692c 100644
--- a/lib/viewers/text.php
+++ b/lib/viewers/text.php
@@ -46,6 +46,7 @@ class file_viewer_text extends file_viewer
'application/xml' => 'xml',
'application/x-vbscript' => 'vbscript',
'message/rfc822' => 'text',
+ 'application/x-empty' => 'text',
);
/**