@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 29 lines 904 B view raw
1<?php 2 3final class PhabricatorZipSetupCheck extends PhabricatorSetupCheck { 4 5 public function getDefaultGroup() { 6 return self::GROUP_OTHER; 7 } 8 9 protected function executeChecks() { 10 if (!extension_loaded('zip')) { 11 $message = pht( 12 'The PHP "zip" extension is not installed. This extension is '. 13 'required by certain data export operations, including exporting '. 14 'data to Excel.'. 15 "\n\n". 16 'To clear this setup issue, install the extension and restart your '. 17 'webserver.'. 18 "\n\n". 19 'You may safely ignore this issue if you do not plan to export '. 20 'data in Zip archives or Excel spreadsheets, or intend to install '. 21 'the extension later.'); 22 23 $this->newIssue('extension.zip') 24 ->setName(pht('Missing "zip" Extension')) 25 ->setMessage($message) 26 ->addPHPExtension('zip'); 27 } 28 } 29}