// Context

This commit is contained in:
rMalie
2011-07-12 13:50:15 +00:00
parent 89920e17fd
commit 286a374353
20 changed files with 319 additions and 264 deletions
+4 -3
View File
@@ -92,10 +92,11 @@ function ppp($var) {
function ddd($var) {
Tools::d($var);
}
/* Set the current Shop */
Shop::setCurrentShop();
define('_THEME_NAME_', Shop::getCurrentTheme());
define('__PS_BASE_URI__', Shop::getCurrentBaseURI());
Context::getContext()->shop = Shop::initialize();
define('_THEME_NAME_', Context::getContext()->shop->getTheme());
define('__PS_BASE_URI__', Context::getContext()->shop->getBaseURI());
/* Include all defines */
require_once(dirname(__FILE__).'/defines.inc.php');