File tree Expand file tree Collapse file tree 1 file changed +0
-37
lines changed
Expand file tree Collapse file tree 1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change 2323// Remove when php5.X is unsupported, currently 31 Dec 2018, https://secure.php.net/supported-versions.php
2424require_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 */
6428if (!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 ' ;
You can’t perform that action at this time.
0 commit comments