* @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() { } }