// Context

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7600 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie committed 2011-07-12 13:50:15 +00:00
1 parent 25b1bceffd
commit 50f9794383
20 files changed
+319 -264

No files matched your search

+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');