nextcloud/apps/files/ajax/mimeicon.php

7 lines
134 B
PHP

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