Add index.php file to googlemerchant XML module with redirect headers
This commit introduces a new index.php file in the googlemerchant XML module. The file contains headers to prevent caching and redirects users to the parent directory. This is part of the module's structure to ensure proper access control and user experience.
This commit is contained in:
14
modules/x13googlemerchant/upgrade/install-1.4.3.php
Normal file
14
modules/x13googlemerchant/upgrade/install-1.4.3.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
require_once (dirname(__FILE__) . '/../x13googlemerchant.php');
|
||||
|
||||
function upgrade_module_1_4_3($module)
|
||||
{
|
||||
Configuration::updateValue('X13_GOOGLEMERCHANT_EXCLUDE_EAN', 0);
|
||||
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user