// Small fix
This commit is contained in:
1 parent
f8f9733f1e
commit
2ef26e4a2a
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user