Explicitly check for the `ctype` extension
authorAlexander Ebert <ebert@woltlab.com>
Wed, 8 Apr 2020 13:19:10 +0000 (15:19 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 8 Apr 2020 13:19:10 +0000 (15:19 +0200)
Closes #3199

wcfsetup/install/files/lib/acp/page/SystemCheckPage.class.php
wcfsetup/test.php

index 6bee2a653f82fd7fcd152bf079836160f48526fd..e21129cc1cc20699febca45b9907f51327a68732 100644 (file)
@@ -77,6 +77,7 @@ class SystemCheckPage extends AbstractPage {
                'gd',
                'hash',
                'exif',
+               'ctype',
        ];
        
        public $phpMemoryLimit = 128;
index 394d4d68c570954f40273e448d5c2905b6d7abd1..46e97a4e6bfc46b3ad8e06fffb87d160b5d5054e 100644 (file)
@@ -212,7 +212,7 @@ if (isset($_GET['language']) && in_array($_GET['language'], ['de', 'en'])) {
        <main>
 <?php
 const WSC_SRT_VERSION = '5.2.0';
-$requiredExtensions = ['dom', 'json', 'hash', 'libxml', 'mbstring', 'pcre', 'pdo', 'pdo_mysql', 'zlib'];
+$requiredExtensions = ['ctype', 'dom', 'json', 'hash', 'libxml', 'mbstring', 'pcre', 'pdo', 'pdo_mysql', 'zlib'];
 $requiredPHPVersion = '7.0.22';
 $phrases = [
        'php_requirements' => [