// Small fix

This commit is contained in:
lLefevre
2012-09-07 14:39:14 +00:00
parent 3da415d476
commit f0a306d2cf
+1
View File
@@ -145,6 +145,7 @@ class ContextCore
protected function checkMobileContext()
{
return isset($_SERVER['HTTP_USER_AGENT'])
&& isset(Context::getContext()->cookie)
&& (bool)Configuration::get('PS_ALLOW_MOBILE_DEVICE')
&& @filemtime(_PS_THEME_MOBILE_DIR_)
&& !Context::getContext()->cookie->no_mobile;