[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/config/check/ -> PhabricatorSetupCheckFileinfo.php (source)

   1  <?php
   2  
   3  final class PhabricatorSetupCheckFileinfo extends PhabricatorSetupCheck {
   4  
   5    protected function executeChecks() {
   6      if (!extension_loaded('fileinfo')) {
   7        $message = pht(
   8          "The 'fileinfo' extension is not installed. Without 'fileinfo', ".
   9          "support, Phabricator may not be able to determine the MIME types ".
  10          "of uploaded files.");
  11  
  12        $this->newIssue('extension.fileinfo')
  13          ->setName(pht("Missing 'fileinfo' Extension"))
  14          ->setMessage($message);
  15      }
  16    }
  17  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1