Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96251630
PhabricatorSetupCheckFileinfo.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
Tue, Dec 24, 04:22
Size
511 B
Mime Type
text/x-php
Expires
Thu, Dec 26, 04:22 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23148702
Attached To
rPH Phabricator
PhabricatorSetupCheckFileinfo.php
View Options
<?php
final
class
PhabricatorSetupCheckFileinfo
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