* @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class MyAccountControllerCore extends FrontController { public $auth = true; public $php_self = 'my-account'; public $authRedirection = 'my-account'; public $ssl = true; /** * Assign template vars related to page content. * * @see FrontController::initContent() */ public function initContent() { $this->context->smarty->assign([ 'logout_url' => $this->context->link->getPageLink('index', true, null, 'mylogout'), ]); parent::initContent(); $this->setTemplate('customer/my-account'); } }