summaryrefslogtreecommitdiffstats
path: root/files/ajax/mimeicon.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/ajax/mimeicon.php')
-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']);
+
+?>