Reputation: 2463
I want to know how to get the prestashop Friendly URL is active or not in my custom module controller.
Is there any core function or any other method to get those detail in controller file ?
Upvotes: 0
Views: 523
Reputation: 4337
Yes by getting the PS_REWRITING_SETTINGS
configuration.
$friendy_url_active = Configuration::get('PS_REWRITING_SETTINGS');
Upvotes: 3