// commit missing file
This commit is contained in:
@@ -81,7 +81,13 @@ abstract class ControllerCore
|
|||||||
/**
|
/**
|
||||||
* Initialize the page
|
* Initialize the page
|
||||||
*/
|
*/
|
||||||
abstract public function init();
|
public function init()
|
||||||
|
{
|
||||||
|
if (!defined('_PS_BASE_URL_'))
|
||||||
|
define('_PS_BASE_URL_', Tools::getShopDomain(true));
|
||||||
|
if (!defined('_PS_BASE_URL_SSL_'))
|
||||||
|
define('_PS_BASE_URL_SSL_', Tools::getShopDomainSsl(true));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Do the page treatment : post process, ajax process, etc.
|
* Do the page treatment : post process, ajax process, etc.
|
||||||
|
|||||||
Reference in New Issue
Block a user