// Move and refacto Tools::getMetaTags(), Tools::getHomeMetaTags() and Tools::completeMetaTags() to Meta class

This commit is contained in:
rMalie
2012-04-27 08:46:52 +00:00
parent 08f4556853
commit 6ce0675b9d
4 changed files with 292 additions and 194 deletions

View File

@@ -272,7 +272,7 @@ class FrontControllerCore extends Controller
$page_name = (preg_match('/^[0-9]/', $page_name)) ? 'page_'.$page_name : $page_name;
}
$this->context->smarty->assign(Tools::getMetaTags($this->context->language->id, $page_name));
$this->context->smarty->assign(Meta::getMetaTags($this->context->language->id, $page_name));
$this->context->smarty->assign('request_uri', Tools::safeOutput(urldecode($_SERVER['REQUEST_URI'])));
/* Breadcrumb */