1 system.module | system_archiver_info() |
Implements hook_archiver_info().
File
- core/
modules/ system/ system.module, line 4121 - Configuration system that lets administrators modify the workings of the site.
Code
function system_archiver_info() {
$archivers['tar'] = array(
'class' => 'ArchiverTar',
'extensions' => array('tar', 'tgz', 'tar.gz', 'tar.bz2'),
);
if (class_exists('ZipArchive')) {
$archivers['zip'] = array(
'class' => 'ArchiverZip',
'extensions' => array('zip'),
);
}
return $archivers;
}