diff --git a/admin-dev/themes/default/template/controllers/meta/helpers/options/options.tpl b/admin-dev/themes/default/template/controllers/meta/helpers/options/options.tpl index 28cc54fbc..96c0934e5 100644 --- a/admin-dev/themes/default/template/controllers/meta/helpers/options/options.tpl +++ b/admin-dev/themes/default/template/controllers/meta/helpers/options/options.tpl @@ -34,7 +34,7 @@ {if !$field['mod_rewrite']} - {l s='URL rewriting (mod_rewrite) is not active on your server. If you want to use Friendly URLs you must activate this mod.'} + {l s='URL rewriting (mod_rewrite) is not active on your server or it is not possible to check your server configuration. If you want to use Friendly URLs you must activate this mod.'}
{/if} {else} diff --git a/classes/Tools.php b/classes/Tools.php index 33b495a7b..2bd1ffa0c 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -2104,22 +2104,6 @@ FileETag INode MTime Size return true; } } - else - { - if (function_exists('phpinfo')) - { - // If apache_get_modules does not exists, - // we parse phpinfo(INFO_MODULES) return string - ob_start(); - phpinfo(INFO_MODULES); - $phpinfo = ob_get_contents(); - ob_end_clean(); - if (strpos($phpinfo, $name) !== false) - return true; - } - // otherwise, use the default behavior - // see return value at the end of the function - } return false; }