// Generate .htaccess in adminShopUrl

This commit is contained in:
rMalie
2011-07-06 14:35:19 +00:00
parent d62e3da234
commit 460e7293a7
+3
View File
@@ -63,7 +63,10 @@ class AdminShopUrl extends AdminTab
}
if ($object->canAddThisUrl(Tools::getValue('domain'), Tools::getValue('domain_ssl'), Tools::getValue('uri')))
$this->_errors[] = Tools::displayError('A shop url that use this domain and uri already exists');
Tools::generateHtaccess(dirname(__FILE__).'/../../.htaccess', Configuration::get('PS_REWRITING_SETTINGS'), Configuration::get('PS_HTACCESS_CACHE_CONTROL'), Configuration::get('PS_HTACCESS_SPECIFIC'));
}
if (Tools::isSubmit('submitOptions'.$this->table))
{
$baseUrls = array();