Subversion Repositories oidplus

Rev

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

Rev 597 Rev 635
Line 21... Line 21...
21
        $missing_dependencies = array();
21
        $missing_dependencies = array();
22
 
22
 
23
        if (!function_exists('gmp_init')) {
23
        if (!function_exists('gmp_init')) {
24
                // GMP Required for includes/uuid_functions.inc.php
24
                // GMP Required for includes/uuid_functions.inc.php
25
                //                  includes/ipv6_functions.inc.php
25
                //                  includes/ipv6_functions.inc.php
26
                //                  plugins/adminPages/400_oidinfo_export/oidinfo_api.inc.php (if GMP is not available, BC will be used)
26
                //                  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.
27
                // Note that gmp_supplement.inc.php will implement the GMP functions if BCMath is present.
28
                // This is the reason why we use function_exists('gmp_init') instead of extension_loaded('gmp')
28
                // This is the reason why we use function_exists('gmp_init') instead of extension_loaded('gmp')
29
                if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
29
                if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
30
                        $install_hint1 = _L('On Windows, install it by enabling the line %1 in your PHP.ini',
30
                        $install_hint1 = _L('On Windows, install it by enabling the line %1 in your PHP.ini',
31
                                'extension=php_gmp.dll');
31
                                'extension=php_gmp.dll');
Line 66... Line 66...
66
        }
66
        }
67
 
67
 
68
        if (!function_exists('simplexml_load_file')) {
68
        if (!function_exists('simplexml_load_file')) {
69
                // Required for includes/classes/OIDplusPluginManifest.class.php (Plugins)
69
                // Required for includes/classes/OIDplusPluginManifest.class.php (Plugins)
70
                //              includes/classes/OIDplus.class.php (Translation)
70
                //              includes/classes/OIDplus.class.php (Translation)
71
                //              plugins/adminPages/400_oidinfo_export/OIDplusPageAdminOIDInfoExport.class.php (Import OID from oid-info.com)
71
                //              plugins/viathinksoft/adminPages/400_oidinfo_export/OIDplusPageAdminOIDInfoExport.class.php (Import OID from oid-info.com)
72
                //              dev/translation/*.phps (only for developers)
72
                //              dev/translation/*.phps (only for developers)
73
                // Note: This should not happen because of simplexml_supplement.inc.php
73
                // Note: This should not happen because of simplexml_supplement.inc.php
74
                if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
74
                if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
75
                        $install_hint = _L('On Windows, it should be installed by default');
75
                        $install_hint = _L('On Windows, it should be installed by default');
76
                } else {
76
                } else {