// commit missing file
This commit is contained in:
1 parent
13b6843cd9
commit
d8fc2003ce
1 file changed
+7
-1
@@ -81,7 +81,13 @@ abstract class ControllerCore
|
||||
/**
|
||||
* 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.
|
||||
|
||||
Reference in new issue
Block a user