[*] MO : updated controllers for mobile theme

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14114 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
nPellicari
2012-03-13 17:34:18 +00:00
parent 63dbd490ed
commit ed21b38e8a
4 changed files with 27 additions and 11 deletions
+2 -1
View File
@@ -125,7 +125,8 @@ class IdentityControllerCore extends FrontController
public function setMedia()
{
parent::setMedia();
$this->addCSS(_THEME_CSS_DIR_.'identity.css');
if ($this->context->getMobileDevice() == false)
$this->addCSS(_THEME_CSS_DIR_.'identity.css');
}
}