// Generate .htaccess in adminShopUrl
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user