Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98050307
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
Thu, Jan 9, 02:14
Size
584 B
Mime Type
text/x-php
Expires
Sat, Jan 11, 02:14 (1 d, 10 h)
Engine
blob
Format
Raw Data
Handle
23502963
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 'fileinfo' extension is not installed. Without 'fileinfo', "
.
"support, Phabricator may not be able to determine the MIME types "
.
"of uploaded files."
);
$this
->
newIssue
(
'extension.fileinfo'
)
->
setName
(
pht
(
"Missing 'fileinfo' Extension"
))
->
setMessage
(
$message
);
}
}
}
Event Timeline
Log In to Comment