41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* File from http://PrestaShow.pl
|
|
*
|
|
* DISCLAIMER
|
|
* Do not edit or add to this file if you wish to upgrade this module to newer
|
|
* versions in the future.
|
|
*
|
|
* @authors PrestaShow.pl <kontakt@prestashow.pl>
|
|
* @copyright 2015 PrestaShow.pl
|
|
* @license http://PrestaShow.pl/license
|
|
*/
|
|
class PShowReportBugController extends PShowAdminController
|
|
{
|
|
|
|
public $default_action = 'index';
|
|
public $filepath = null;
|
|
|
|
public function __construct()
|
|
{
|
|
$reflection = new ReflectionClass($this);
|
|
$this->filepath = $reflection->getFileName();
|
|
|
|
require_once dirname($this->filepath) . "/../../config.php";
|
|
|
|
parent::__construct();
|
|
|
|
$this->controller_displayName = $this->l('Bug report');
|
|
$this->action_displayName = $this->l('index');
|
|
|
|
$this->context->controller->addJS('https://code.jquery.com/jquery-1.12.0.min.js');
|
|
$this->context->controller->addJS('http://' . $_SERVER['SERVER_NAME'] . __PS_BASE_URI__ . 'modules/' . $this->modulename . '/system/view/js/reportbug.js');
|
|
}
|
|
|
|
public function indexAction()
|
|
{
|
|
|
|
}
|
|
}
|