nextcloud/apps/files/ajax/mimeicon.php

7 lines
142 B
PHP

<?php
\OC::$server->getSession()->close();
$mime = isset($_GET['mime']) ? (string)$_GET['mime'] : '';
print OC_Helper::mimetypeIcon($mime);