Skip to content
Browse files

// Generate .htaccess in adminShopUrl

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7534 b9a71923-0436-4b27-9f14-aed3839534dd
  • Loading branch information...
1 parent 8ed089d commit 3d9b61023c058e3d12045ae8229cc441f1587cac @raphaelMalie raphaelMalie committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 admin-dev/tabs/AdminShopUrl.php
View
3 admin-dev/tabs/AdminShopUrl.php
@@ -63,7 +63,10 @@ public function postProcess()
}
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();

0 comments on commit 3d9b610

Please sign in to comment.
Something went wrong with that request. Please try again.