[*] Core: Upgrade smarty to version 3.1.3

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9469 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2011-10-19 15:16:52 +00:00
parent b22fe70288
commit 2a22c9a502
128 changed files with 24059 additions and 13 deletions
-7
View File
@@ -103,11 +103,6 @@ class FrontControllerCore extends Controller
Tools::setCookieLanguage($this->context->cookie);
$currency = Tools::setCurrency($this->context->cookie);
if (Validate::isLoadedObject($currency))
$this->context->smarty->ps_currency = $currency;
$this->context->smarty->ps_language = $this->context->language;
$protocol_link = (Configuration::get('PS_SSL_ENABLED') OR Tools::usingSecureMode()) ? 'https://' : 'http://';
$useSSL = ((isset($this->ssl) AND $this->ssl AND Configuration::get('PS_SSL_ENABLED')) OR Tools::usingSecureMode()) ? true : false;
$protocol_content = ($useSSL) ? 'https://' : 'http://';
@@ -209,8 +204,6 @@ class FrontControllerCore extends Controller
setlocale(LC_TIME, $locale);
setlocale(LC_NUMERIC, 'en_US.UTF-8');
$this->context->smarty->ps_language = $this->context->language;
/* get page name to display it in body id */
// @todo check here
$page_name = Dispatcher::getInstance()->getController();