// Improvement when detect mobile

This commit is contained in:
lLefevre
2012-09-07 08:17:15 +00:00
parent 864fc3d405
commit 84b9fbaf1e
+2 -1
View File
@@ -110,7 +110,8 @@ class ContextCore
public function __construct()
{
$this->mobile_detect = new Mobile_Detect();
if ((bool)Configuration::get('PS_ALLOW_MOBILE_DEVICE'))
$this->mobile_detect = new Mobile_Detect();
}
public function getMobileDevice()