summaryrefslogtreecommitdiffstats
path: root/files/ajax
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-10-08 21:18:47 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-10-13 16:33:39 +0200
commitd7fa2a0f7770acb36c49ea60348bb583e53b04e7 (patch)
tree8bbbc87c3b5c03944ed7605543ebcb796d96f274 /files/ajax
parent8da00e2d9aef5b77832a8d05a87c6b7cfbc5940a (diff)
downloadnextcloud-server-d7fa2a0f7770acb36c49ea60348bb583e53b04e7.tar.gz
nextcloud-server-d7fa2a0f7770acb36c49ea60348bb583e53b04e7.zip
mimetype icon improvements
Diffstat (limited to 'files/ajax')
-rw-r--r--files/ajax/mimeicon.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/ajax/mimeicon.php b/files/ajax/mimeicon.php
new file mode 100644
index 00000000000..8724016b3a1
--- /dev/null
+++ b/files/ajax/mimeicon.php
@@ -0,0 +1,8 @@
+<?php
+
+// Init owncloud
+require_once('../../lib/base.php');
+
+print OC_Helper::mimetypeIcon($_GET['mime']);
+
+?>