Skip to content

Commit

Permalink
Fixed issue: Missing mbstring library requirement was not properly ch…
Browse files Browse the repository at this point in the history
…ecked during installation
  • Loading branch information
c-schmitz committed Apr 9, 2024
1 parent a8b1f5d commit af609f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions application/models/InstallerConfigForm.php
Expand Up @@ -209,14 +209,14 @@ public function validate($attributes = null, $clearErrors = true)

private function checkStatus()
{
$this->isPhpMbStringPresent = function_exists('mb_convert_encoding');
$this->isPhpFileInfoPresent = function_exists('finfo_open');
$this->isPhpZlibPresent = function_exists('zlib_get_coding_type');
$this->isPhpMbStringPresent = extension_loaded('mbstring');
$this->isPhpFileInfoPresent = extension_loaded('fileinfo');
$this->isPhpZlibPresent = extension_loaded('zlib');
$this->isPhpJsonPresent = function_exists('json_encode');
$this->isMemoryLimitOK = $this->checkMemoryLimit();
$this->isPhpLdapPresent = function_exists('ldap_connect');
$this->isPhpImapPresent = function_exists('imap_open');
$this->isPhpZipPresent = class_exists('ZipArchive');
$this->isPhpLdapPresent = extension_loaded('ldap');
$this->isPhpImapPresent = extension_loaded('imap');
$this->isPhpZipPresent = extension_loaded('zip');
$this->isSodiumPresent = function_exists('sodium_crypto_sign_open');
$this->isCollatorPresent = class_exists('Collator');

Expand Down

0 comments on commit af609f0

Please sign in to comment.