Add Ceneo Trusted Reviews module with initial implementation
- Created Html helper class for displaying information and translations. - Added index.php files for various directories to prevent direct access. - Implemented Polish translations for the module. - Set up upgrade scripts for future module updates. - Included Composer autoloading files and configurations. - Added template files for displaying header and order confirmation scripts. - Established .htaccess rules for security in vendor directory.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* NOTICE OF LICENSE.
|
||||
* This file is licenced under the Software License Agreement.
|
||||
* With the purchase or the installation of the software in your application
|
||||
* you accept the licence agreement.
|
||||
* You must not modify, adapt or create derivative works of this source code
|
||||
*
|
||||
* @author 2022 Ceneo.pl sp. z o.o.
|
||||
* @copyright Ceneo.pl
|
||||
* @license LICENSE.txt
|
||||
* @description Integrates store with Ceneo.pl Trusted Reviews Program
|
||||
*/
|
||||
class AdminCeneoTrustedreviewsController extends ModuleAdminController
|
||||
{
|
||||
public function init()
|
||||
{
|
||||
Tools::redirectAdmin(
|
||||
Context::getContext()->link->getAdminLink('AdminModules') . '&configure=ceneo_trustedreviews'
|
||||
);
|
||||
}
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->module = 'ceneo_trustedreviews';
|
||||
$this->bootstrap = true;
|
||||
$this->context = Context::getContext();
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user