Skip to content

Commit

Permalink
Merge pull request #17679 from civicrm/5.27
Browse files Browse the repository at this point in the history
5.27
  • Loading branch information
seamuslee001 authored Jun 21, 2020
2 parents 1b6d906 + 27a4777 commit 6217c68
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CRM/Utils/Check/Component/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -986,4 +986,18 @@ public function checkMysqlVersion() {
return $messages;
}

public function checkPHPIntlExists() {
$messages = [];
if (!extension_loaded('intl')) {
$messages[] = new CRM_Utils_Check_Message(
__FUNCTION__,
ts('This system currently does not have the PHP-INTL extension enabled please contact your system administrator about getting the extension enabled'),
ts('Missing PHP Extension: INTL'),
\Psr\Log\LogLevel::WARNING,
'fa-server'
);
}
return $messages;
}

}

0 comments on commit 6217c68

Please sign in to comment.