first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
/**
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
*
* @author VEKIA https://www.prestashop.com/forums/user/132608-vekia/
* @copyright 2010-9999 VEKIA
* @license This program is not free software and you can't resell and redistribute it
*
* CONTACT WITH DEVELOPER http://mypresta.eu
* support@mypresta.eu
*/
include_once('../../config/config.inc.php');
include_once('../../init.php');
include_once('relatedfree.php');
$relatedfree = new relatedfree();
if (!Tools::isSubmit('secure_key') || Tools::getValue('secure_key') != $relatedfree->secure_key)
{
die(1);
}
if (Tools::isSubmit('relatedfreesubmit'))
{
Configuration::updateValue('related_category' . Tools::getValue('id_product'), Tools::getValue('related_category'));
Configuration::updateValue('related_nb' . Tools::getValue('id_product'), Tools::getValue('related_nb'));
Configuration::updateValue('related_link' . Tools::getValue('id_product'), Tools::getValue('related_link'));
}