Files
2025-06-24 14:14:35 +02:00

53 lines
2.0 KiB
PHP

<?php
/**
* LiteSpeed Cache for Prestashop.
*
* NOTICE OF LICENSE
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see https://opensource.org/licenses/GPL-3.0 .
*
* @author LiteSpeed Technologies
* @copyright Copyright (c) 2017-2018 LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
* @license https://opensource.org/licenses/GPL-3.0
*/
// base must be included first
include __DIR__ . '/LscIntegration.php';
// share for all PS versions
include __DIR__ . '/shared/LscToken.php';
include __DIR__ . '/shared/LscEnv.php';
// third-party theme integration
if (version_compare(_PS_VERSION_, '1.7.0.0', '>=')) { // for PS 1.7 only
// default built-in modules
include __DIR__ . '/1.7/LscCustomerSignIn.php';
include __DIR__ . '/1.7/LscShoppingcart.php';
// integrated modules, feel free to comment out the modules you don't use
include __DIR__ . '/1.7/LscGdprPro.php';
include __DIR__ . '/1.7/LscPscartdropdown.php';
// integrated theme modules, feel free to comment out the themes you don't use
include __DIR__ . '/1.7/iqit/loader.php'; // warehouse theme
include __DIR__ . '/1.7/panda_transform/loader.php'; // panda or transform theme
include __DIR__ . '/1.7/promokit/loader.php'; // alysum theme
} else { // for PS 1.6 only
// default built-in modules
include __DIR__ . '/1.6/LscBlockCart.php';
include __DIR__ . '/1.6/LscBlockUserInfo.php';
include __DIR__ . '/1.6/LscCompareProduct.php';
}