Subversion Repositories oidplus

Rev

Rev 635 | Rev 723 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 635 Rev 722
Line 18... Line 18...
18
 */
18
 */
19
 
19
 
20
function oidplus_get_missing_dependencies() {
20
function oidplus_get_missing_dependencies() {
21
        $missing_dependencies = array();
21
        $missing_dependencies = array();
22
 
22
 
-
 
23
        if (!extension_loaded('iconv')) {
-
 
24
                // Alpine Linux: apk add php-iconv
-
 
25
                $missing_dependencies[] = 'iconv';
-
 
26
        }
-
 
27
 
-
 
28
        if (!extension_loaded('session')) {
-
 
29
                // Alpine Linux: apk add php-session
-
 
30
                $missing_dependencies[] = 'session';
-
 
31
        }
-
 
32
 
-
 
33
        if (!extension_loaded('json')) {
-
 
34
                // Alpine Linux: apk add php-json
-
 
35
                $missing_dependencies[] = 'json';
-
 
36
        }
-
 
37
 
-
 
38
        if (!extension_loaded('date')) {
-
 
39
                $missing_dependencies[] = 'date';
-
 
40
        }
-
 
41
 
-
 
42
        if (!extension_loaded('filter')) {
-
 
43
                $missing_dependencies[] = 'filter';
-
 
44
        }
-
 
45
 
-
 
46
        if (!extension_loaded('hash')) {
-
 
47
                $missing_dependencies[] = 'hash';
-
 
48
        }
-
 
49
 
-
 
50
        if (!extension_loaded('pcre')) {
-
 
51
                $missing_dependencies[] = 'pcre';
-
 
52
        }
-
 
53
 
23
        if (!function_exists('gmp_init')) {
54
        if (!function_exists('gmp_init')) {
24
                // GMP Required for includes/uuid_functions.inc.php
55
                // GMP Required for includes/uuid_functions.inc.php
25
                //                  includes/ipv6_functions.inc.php
56
                //                  includes/ipv6_functions.inc.php
26
                //                  plugins/viathinksoft/adminPages/400_oidinfo_export/oidinfo_api.inc.php (if GMP is not available, BC will be used)
57
                //                  plugins/viathinksoft/adminPages/400_oidinfo_export/oidinfo_api.inc.php (if GMP is not available, BC will be used)
27
                // Note that gmp_supplement.inc.php will implement the GMP functions if BCMath is present.
58
                // Note that gmp_supplement.inc.php will implement the GMP functions if BCMath is present.