// commit missing file

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10740 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-11-29 14:29:45 +00:00
parent 51f4b16986
commit b3bd8b4345
+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.