Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893979
PhabricatorFileinfoSetupCheck.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
609 B
Referenced Files
None
Subscribers
None
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', "
.
"this server 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
)
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 19:12 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127838
Default Alt Text
PhabricatorFileinfoSetupCheck.php (609 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment