Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102070306
PhabricatorFileinfoSetupCheck.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Feb 16, 19:38
Size
618 B
Mime Type
text/x-php
Expires
Tue, Feb 18, 19:38 (2 d)
Engine
blob
Format
Raw Data
Handle
24264072
Attached To
rPH Phabricator
PhabricatorFileinfoSetupCheck.php
View Options
<?php
final
class
PhabricatorFileinfoSetupCheck
extends
PhabricatorSetupCheck
{
public
function
getDefaultGroup
()
{
return
self
::
GROUP_OTHER
;
}
protected
function
executeChecks
()
{
if
(!
extension_loaded
(
'fileinfo'
))
{
$message
=
pht
(
"The '%s' extension is not installed. Without '%s', "
.
"support, Phabricator may not be able to determine the MIME types "
.
"of uploaded files."
,
'fileinfo'
,
'fileinfo'
);
$this
->
newIssue
(
'extension.fileinfo'
)
->
setName
(
pht
(
"Missing '%s' Extension"
,
'fileinfo'
))
->
setMessage
(
$message
);
}
}
}
Event Timeline
Log In to Comment