[-] BO : #PSCFV-2606 - Fix bug with FastCGI/CGI and url multishopping (we cannot be sure the mod_rewrite is enable or disable)

This commit is contained in:
mDeflotte
2012-05-30 07:54:12 +00:00
parent e4e0758853
commit 52d054e006
3 changed files with 81 additions and 77 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ class AdminShopUrlControllerCore extends AdminController
$this->multiple_fieldsets = true;
if (!$update_htaccess)
$desc_virtual_uri = array(
$this->l('You need to activate the URL Rewriting if you want to add a virtual URI.')
'<span class="warning_mod_rewrite">'.$this->l('You need to activate the URL Rewriting if you want to add a virtual URI.').'</span>'
);
else
$desc_virtual_uri = array(
@@ -219,9 +219,9 @@ class AdminShopUrlControllerCore extends AdminController
'type' => 'text',
'label' => $this->l('Virtual URI:'),
'name' => 'virtual_uri',
'disabled' => !$update_htaccess,
'desc' => $desc_virtual_uri,
'size' => 50,
'hint' => (!$update_htaccess) ? $this->l('Warning: The URL rewriting (mod_rewrite) seems to be disable.') : '',
),
array(
'type' => 'text',