Skip to content

Commit f11809b

Browse files
committed
Revert PR 508 (Check for required PHP extensions): db34c25, cc3a07a, f792b53
1 parent aa38f90 commit f11809b

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

public_html/lists/admin/index.php

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -23,42 +23,6 @@
2323
// Remove when php5.X is unsupported, currently 31 Dec 2018, https://secure.php.net/supported-versions.php
2424
require_once dirname(__FILE__).'/inc/random_compat/random.php';
2525

26-
// Check if required PHP modules are installed.
27-
$requiredExtensions = array(
28-
'pcre',
29-
'core',
30-
'date',
31-
'hash',
32-
'spl',
33-
'filter',
34-
'openssl',
35-
'mbstring',
36-
'session',
37-
'xml',
38-
'curl',
39-
'iconv',
40-
'json',
41-
'gettext',
42-
'simplexml',
43-
'mysqli',
44-
'gd',
45-
);
46-
47-
$notInstalled = array();
48-
49-
foreach ($requiredExtensions as $value) {
50-
if (!extension_loaded($value)) {
51-
array_push($notInstalled, $value);
52-
}
53-
}
54-
if (count($notInstalled) > 0) {
55-
$message = "The following PHP extensions are missing:" . '<br>';
56-
foreach ($notInstalled as $value) {
57-
$message .= $value . '<br>';
58-
}
59-
die($message);
60-
}
61-
6226
/* no idea why it wouldn't be there (no dependencies are mentioned on php.net/mb_strtolower), but
6327
* found a system missing it. We need it from the start */
6428
if (!function_exists('mb_strtolower')) {
@@ -557,7 +521,6 @@ function mb_strtolower($string)
557521
echo Info($GLOBALS['I18N']->get('Running in testmode, no emails will be sent. Check your config file.'));
558522
}
559523

560-
561524
if (!strpos(VERSION, 'dev')){
562525

563526
$updaterdir = __DIR__ . '/../updater';

0 commit comments

Comments
 (0)