From b9ca3bedf7fa0cac145e64171bcb31d305657c6c Mon Sep 17 00:00:00 2001 From: Florent DESPIERRES Date: Tue, 13 Jun 2017 10:04:25 +0200 Subject: [PATCH] Remove unneeded configuration items --- .../1.0/etc/packages/mobile_detect.yaml | 33 ++++--------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/suncat/mobile-detect-bundle/1.0/etc/packages/mobile_detect.yaml b/suncat/mobile-detect-bundle/1.0/etc/packages/mobile_detect.yaml index b3e1ec04..28fbd395 100644 --- a/suncat/mobile-detect-bundle/1.0/etc/packages/mobile_detect.yaml +++ b/suncat/mobile-detect-bundle/1.0/etc/packages/mobile_detect.yaml @@ -2,31 +2,12 @@ mobile_detect: ~ # redirect: # full: -# is_enabled: true # default false -# host: http://site.com # with scheme (http|https), default null, url validate -# status_code: 301 # default 302 -# action: redirect # redirect, no_redirect, redirect_without_path +# is_enabled: true +# host: http://site.com +# action: redirect # mobile: -# is_enabled: true # default false -# host: http://m.site.com # with scheme (http|https), default null, url validate -# status_code: 301 # default 302 -# action: redirect # redirect, no_redirect, redirect_without_path -# tablet: -# is_enabled: true # default false -# host: http://t.site.com # with scheme (http|https), default null, url validate -# status_code: 301 # default 302 -# action: redirect # redirect, no_redirect, redirect_without_path -# detect_tablet_as_mobile: true # default false -# switch_device_view: -# save_referer_path: false # default true - # true redirectUrl = http://site.com/current/path?currentQuery=string - # false redirectUrl = http://site.com -# service: -# mobile_detector: mobile_detect.mobile_detector.default -# cookie_key: "device_view" # default -# cookie_expire_datetime_modifier: "+1 month" # default -# switch_param: "device_view" # default -# device_view_class: "SunCat\MobileDetectBundle\Helper\DeviceView" -# request_response_listener_class: "SunCat\MobileDetectBundle\EventListener\RequestResponseListener" -# twig_extension_class: "SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension" +# is_enabled: true +# host: http://m.site.com +# action: redirect +# detect_tablet_as_mobile: true