From fdf7bf6aeb14abe22b34ebd385f4079d733d64ed Mon Sep 17 00:00:00 2001 From: rGaillard Date: Fri, 28 Sep 2012 12:25:01 +0000 Subject: [PATCH] // Fix weird bug with some hosting git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17606 b9a71923-0436-4b27-9f14-aed3839534dd --- .../controllers/meta/helpers/options/options.tpl | 2 +- classes/Tools.php | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) 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; }