Page MenuHomePhorge

PhabricatorFileinfoSetupCheck.php
No OneTemporary

PhabricatorFileinfoSetupCheck.php

<?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

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)

Event Timeline