function system_archiver_info

cis7 system.module system_archiver_info()
cle7 system.module system_archiver_info()
elmsmedia7 system.module system_archiver_info()
icor7 system.module system_archiver_info()
meedjum_blog7 system.module system_archiver_info()
mooc7 system.module system_archiver_info()

Implements hook_archiver_info().

File

modules/system/system.module, line 3933
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 (function_exists('zip_open')) {
    $archivers['zip'] = array(
      'class' => 'ArchiverZip',
      'extensions' => array('zip'),
    );
  }
  return $archivers;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.