// commit missing file

This commit is contained in:
tDidierjean
2011-11-29 14:29:45 +00:00
parent 13b6843cd9
commit d8fc2003ce
+7 -1
View File
@@ -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.