✏️ 正在编辑: restore.php
路径:
/home/bpioifn/www/pigmentse/modules/productquotation/controllers/front/restore.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * Product Quotation * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * @author FMM Modules * @copyright Copyright 2021 © FMM Modules All right reserved * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * @category front_office_features * @package productquotation */ class ProductQuotationRestoreModuleFrontController extends ModuleFrontController { public function __construct() { parent::__construct(); $this->context = Context::getContext(); } public function initContent() { parent::initContent(); $id_cart = (int)Tools::getValue('id_cart'); $this->context->cookie->id_cart = $id_cart; $link_order = $this->context->link->getPageLink('order'); Tools::redirect($link_order); } }
💾 保存文件
← 返回文件管理器