2017-05-08から1日間の記事一覧
EC-CUBE3.0.14からPCとスマホを判別するMobile Detectというライブラリが導入されています。 mobiledetect.net 使い方は、PHP側からはShoppingService.phpに // device type if ($this->app['mobile_detect']->isMobile()) { $DeviceType = $this->app['eccu…
EC-CUBE3.0.14からPCとスマホを判別するMobile Detectというライブラリが導入されています。 mobiledetect.net 使い方は、PHP側からはShoppingService.phpに // device type if ($this->app['mobile_detect']->isMobile()) { $DeviceType = $this->app['eccu…