Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F109901482
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
Wed, Apr 23, 22:02
Size
511 B
Mime Type
text/x-php
Expires
Fri, Apr 25, 22:02 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25730215
Attached To
rPH Phabricator
PhabricatorFileinfoSetupCheck.php
View Options
<?php
final
class
PhabricatorFileinfoSetupCheck
extends
PhabricatorSetupCheck
{
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