Changeset 2566:9bf417837888 for admin/install/check.php
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/install/check.php
r1743 r2566 15 15 { 16 16 $err = array(); 17 17 18 18 if (version_compare(phpversion(),'5.0','<')) { 19 19 $err[] = sprintf(__('PHP version is %s (5.0 or earlier needed).'),phpversion()); 20 20 } 21 21 22 22 if (!function_exists('mb_detect_encoding')) { 23 23 $err[] = __('Multibyte string module (mbstring) is not available.'); 24 24 } 25 25 26 26 if (!function_exists('iconv')) { 27 27 $err[] = __('Iconv module is not available.'); 28 28 } 29 29 30 30 if (!function_exists('ob_start')) { 31 31 $err[] = __('Output control functions are not available.'); 32 32 } 33 33 34 34 if (!function_exists('simplexml_load_string')) { 35 35 $err[] = __('SimpleXML module is not available.'); 36 36 } 37 37 38 38 if (!function_exists('dom_import_simplexml')) { 39 39 $err[] = __('DOM XML module is not available.'); 40 40 } 41 41 42 42 $pcre_str = base64_decode('w6nDqMOgw6o='); 43 43 if (!@preg_match('/'.$pcre_str.'/u', $pcre_str)) { 44 44 $err[] = __('PCRE engine does not support UTF-8 strings.'); 45 45 } 46 46 47 47 if (!function_exists("spl_classes")) { 48 48 $err[] = __('SPL module is not available.'); 49 49 } 50 50 51 51 if ($con->driver() == 'mysql' || $con->driver() == 'mysqli') 52 52 { … … 65 65 } 66 66 } 67 67 68 68 if (!$innodb) { 69 69 $err[] = __('MySQL InnoDB engine is not available.'); … … 78 78 } 79 79 } 80 80 81 81 return count($err) == 0; 82 82 } 83 ?>
Note: See TracChangeset
for help on using the changeset viewer.