1 installer.browser.inc installer_browser_check_zip_loaded()

Checks if PHP zip extension loaded on webserver.


core/modules/installer/installer.browser.inc, line 588
Various functions that are required by the Installer browse pages.


function installer_browser_check_zip_loaded() {
  $zip_loaded = array_key_exists('zip', archiver_get_info());
  if (!$zip_loaded) {
    backdrop_set_message(t('The Zip PHP extension is not loaded on your server. You will not be able to download any projects using Project Installer until this is fixed.'), 'warning', FALSE);
  return $zip_loaded;