This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ElementsController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController { | |
/** | |
* Renders folder download CE | |
* | |
* @return void | |
*/ | |
public function folderdownloadsAction() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// MIME types definition | |
$types = array ( | |
'3dmf' => 'x-world/x-3dmf', | |
'3dm' => 'x-world/x-3dmf', | |
'avi' => 'video/x-msvideo', | |
'ai' => 'application/postscript', | |
'bin' => 'application/octet-stream', | |
'bin' => 'application/x-macbinary', | |
'bmp' => 'image/bmp', |