diff --git a/check.php b/check.php index a16cc16..2d35127 100644 --- a/check.php +++ b/check.php @@ -1,25 +1,14 @@ =') != true) - $is_ready = false; - - $have_rewrite = apache_is_module_loaded('mod_rewrite'); - if ($have_rewrite != true) - $is_ready = false; - - if ( ! function_exists('preg_match')) - $is_ready = false; - - if ( ! @preg_match('/^.$/u', 'ñ')) - $is_ready = false; - - if ( ! @preg_match('/^\pL$/u', 'ñ')) - $is_ready = false; - + $is_ready = true; + + if (version_compare(PHP_VERSION, '5.3.6', '>=') != true) $is_ready = false; + + $have_rewrite = apache_is_module_loaded('mod_rewrite'); + + if ($have_rewrite != true) $is_ready = false; ?> @@ -114,40 +103,13 @@