Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F456717
PhabricatorZipSetupCheck.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
904 B
Referenced Files
None
Subscribers
None
PhabricatorZipSetupCheck.php
View Options
<?php
final
class
PhabricatorZipSetupCheck
extends
PhabricatorSetupCheck
{
public
function
getDefaultGroup
()
{
return
self
::
GROUP_OTHER
;
}
protected
function
executeChecks
()
{
if
(!
extension_loaded
(
'zip'
))
{
$message
=
pht
(
'The PHP "zip" extension is not installed. This extension is '
.
'required by certain data export operations, including exporting '
.
'data to Excel.'
.
"
\n\n
"
.
'To clear this setup issue, install the extension and restart your '
.
'webserver.'
.
"
\n\n
"
.
'You may safely ignore this issue if you do not plan to export '
.
'data in Zip archives or Excel spreadsheets, or intend to install '
.
'the extension later.'
);
$this
->
newIssue
(
'extension.zip'
)
->
setName
(
pht
(
'Missing "zip" Extension'
))
->
setMessage
(
$message
)
->
addPHPExtension
(
'zip'
);
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 8:42 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71013
Default Alt Text
PhabricatorZipSetupCheck.php (904 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment