diff --git a/composer.json b/composer.json index e965b8b..104c742 100755 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ "minimum-stability": "RC", "require": { "php": ">=7.0", + "alexandernst/yii2-device-detect": "0.0.12", "artweb/artbox-core" : ">0.0.10" }, "require-dev": { diff --git a/composer.lock b/composer.lock old mode 100755 new mode 100644 index 0ccd4af..e93a011 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "20c2db805fdbbc718dc7c57c39800648", + "hash": "163dd69cbf4410df8959165e28efb09e", + "content-hash": "075f417c5bcd78cfc58694977cf459e9", "packages": [ { "name": "2amigos/yii2-tinymce-widget", @@ -64,7 +65,55 @@ "yii 2", "yii2" ], - "time": "2017-06-09T14:12:14+00:00" + "time": "2017-06-09 14:12:14" + }, + { + "name": "alexandernst/yii2-device-detect", + "version": "0.0.12", + "source": { + "type": "git", + "url": "https://github.com/alexandernst/yii2-device-detect.git", + "reference": "ae9557fb9b04abf8ad9ed8cf7e1b5daa7bdf10ec" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/alexandernst/yii2-device-detect/zipball/ae9557fb9b04abf8ad9ed8cf7e1b5daa7bdf10ec", + "reference": "ae9557fb9b04abf8ad9ed8cf7e1b5daa7bdf10ec", + "shasum": "" + }, + "require": { + "mobiledetect/mobiledetectlib": "~2.8", + "yiisoft/yii2": "*" + }, + "type": "yii2-extension", + "autoload": { + "psr-4": { + "alexandernst\\devicedetect\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GNU General Public License v3" + ], + "authors": [ + { + "name": "Alexander Nestorov", + "email": "alexandernst@gmail.com" + } + ], + "description": "Yii2 extension for Mobile-Detect library", + "keywords": [ + "desktop", + "detect", + "device", + "extension", + "mobile", + "phone", + "tablet", + "widget", + "yii2" + ], + "time": "2017-08-07 16:37:25" }, { "name": "artweb/artbox-core", @@ -125,7 +174,7 @@ "BSD-3-Clause" ], "description": "Artbox core extension", - "time": "2018-05-21T12:55:30+00:00" + "time": "2018-05-21 12:55:30" }, { "name": "bower-asset/amcharts", @@ -537,7 +586,7 @@ "markdown", "markdown-extra" ], - "time": "2017-07-16T21:13:23+00:00" + "time": "2017-07-16 21:13:23" }, { "name": "container-interop/container-interop", @@ -568,7 +617,7 @@ ], "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", "homepage": "https://github.com/container-interop/container-interop", - "time": "2017-02-14T19:40:03+00:00" + "time": "2017-02-14 19:40:03" }, { "name": "doctrine/lexer", @@ -622,7 +671,7 @@ "lexer", "parser" ], - "time": "2014-09-09T13:34:57+00:00" + "time": "2014-09-09 13:34:57" }, { "name": "egulias/email-validator", @@ -679,7 +728,7 @@ "validation", "validator" ], - "time": "2018-08-16T20:49:45+00:00" + "time": "2018-08-16 20:49:45" }, { "name": "ezyang/htmlpurifier", @@ -726,7 +775,7 @@ "keywords": [ "html" ], - "time": "2018-02-23T01:58:20+00:00" + "time": "2018-02-23 01:58:20" }, { "name": "firebase/php-jwt", @@ -772,7 +821,7 @@ ], "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", "homepage": "https://github.com/firebase/php-jwt", - "time": "2017-06-27T22:17:23+00:00" + "time": "2017-06-27 22:17:23" }, { "name": "fortawesome/font-awesome", @@ -820,7 +869,7 @@ "font", "icon" ], - "time": "2016-10-24T15:52:54+00:00" + "time": "2016-10-24 15:52:54" }, { "name": "google/apiclient", @@ -879,20 +928,20 @@ "keywords": [ "google" ], - "time": "2018-06-20T15:52:20+00:00" + "time": "2018-06-20 15:52:20" }, { "name": "google/apiclient-services", - "version": "v0.67", + "version": "v0.68", "source": { "type": "git", "url": "https://github.com/google/google-api-php-client-services.git", - "reference": "32f65995935033e40cc94d4f484905b38eb039f8" + "reference": "f218f5697aa753fa031a09a14ed56a5a438070e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/32f65995935033e40cc94d4f484905b38eb039f8", - "reference": "32f65995935033e40cc94d4f484905b38eb039f8", + "url": "https://api.github.com/repos/google/google-api-php-client-services/zipball/f218f5697aa753fa031a09a14ed56a5a438070e4", + "reference": "f218f5697aa753fa031a09a14ed56a5a438070e4", "shasum": "" }, "require": { @@ -916,7 +965,7 @@ "keywords": [ "google" ], - "time": "2018-08-25T00:23:06+00:00" + "time": "2018-09-03 00:22:49" }, { "name": "google/auth", @@ -963,7 +1012,7 @@ "google", "oauth2" ], - "time": "2018-08-27T19:47:35+00:00" + "time": "2018-08-27 19:47:35" }, { "name": "guzzlehttp/guzzle", @@ -1028,7 +1077,7 @@ "rest", "web service" ], - "time": "2018-04-22T15:46:56+00:00" + "time": "2018-04-22 15:46:56" }, { "name": "guzzlehttp/promises", @@ -1079,7 +1128,7 @@ "keywords": [ "promise" ], - "time": "2016-12-20T10:07:11+00:00" + "time": "2016-12-20 10:07:11" }, { "name": "guzzlehttp/psr7", @@ -1144,7 +1193,7 @@ "uri", "url" ], - "time": "2017-03-20T17:10:46+00:00" + "time": "2017-03-20 17:10:46" }, { "name": "hiqdev/yii2-asset-icheck", @@ -1216,7 +1265,7 @@ "iCheck", "yii2" ], - "time": "2016-03-30T10:59:26+00:00" + "time": "2016-03-30 10:59:26" }, { "name": "hiqdev/yii2-asset-pnotify", @@ -1278,7 +1327,7 @@ "pnotify", "yii2" ], - "time": "2015-09-09T15:16:38+00:00" + "time": "2015-09-09 15:16:38" }, { "name": "imagine/imagine", @@ -1336,7 +1385,7 @@ "image manipulation", "image processing" ], - "time": "2017-05-16T10:31:22+00:00" + "time": "2017-05-16 10:31:22" }, { "name": "intervention/httpauth", @@ -1389,7 +1438,7 @@ "http", "laravel" ], - "time": "2017-06-28T17:37:25+00:00" + "time": "2017-06-28 17:37:25" }, { "name": "kartik-v/bootstrap-fileinput", @@ -1442,7 +1491,7 @@ "progress", "upload" ], - "time": "2018-08-30T02:05:20+00:00" + "time": "2018-08-30 02:05:20" }, { "name": "kartik-v/yii2-krajee-base", @@ -1493,7 +1542,7 @@ "widget", "yii2" ], - "time": "2018-08-29T02:57:02+00:00" + "time": "2018-08-29 02:57:02" }, { "name": "kartik-v/yii2-widget-colorinput", @@ -1547,7 +1596,7 @@ "widget", "yii2" ], - "time": "2016-01-14T11:15:49+00:00" + "time": "2016-01-14 11:15:49" }, { "name": "kartik-v/yii2-widget-datepicker", @@ -1601,7 +1650,7 @@ "widget", "yii2" ], - "time": "2018-08-29T12:10:45+00:00" + "time": "2018-08-29 12:10:45" }, { "name": "kartik-v/yii2-widget-fileinput", @@ -1656,7 +1705,7 @@ "widget", "yii2" ], - "time": "2017-05-25T20:12:30+00:00" + "time": "2017-05-25 20:12:30" }, { "name": "kartik-v/yii2-widget-select2", @@ -1709,7 +1758,59 @@ "widget", "yii2" ], - "time": "2018-08-17T07:47:43+00:00" + "time": "2018-08-17 07:47:43" + }, + { + "name": "mobiledetect/mobiledetectlib", + "version": "2.8.33", + "source": { + "type": "git", + "url": "https://github.com/serbanghita/Mobile-Detect.git", + "reference": "cd385290f9a0d609d2eddd165a1e44ec1bf12102" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/cd385290f9a0d609d2eddd165a1e44ec1bf12102", + "reference": "cd385290f9a0d609d2eddd165a1e44ec1bf12102", + "shasum": "" + }, + "require": { + "php": ">=5.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.8.35||~5.7" + }, + "type": "library", + "autoload": { + "classmap": [ + "Mobile_Detect.php" + ], + "psr-0": { + "Detection": "namespaced/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Serban Ghita", + "email": "serbanghita@gmail.com", + "homepage": "http://mobiledetect.net", + "role": "Developer" + } + ], + "description": "Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.", + "homepage": "https://github.com/serbanghita/Mobile-Detect", + "keywords": [ + "detect mobile devices", + "mobile", + "mobile detect", + "mobile detector", + "php mobile detect" + ], + "time": "2018-09-01 15:05:15" }, { "name": "monolog/monolog", @@ -1787,7 +1888,7 @@ "logging", "psr-3" ], - "time": "2017-06-19T01:22:40+00:00" + "time": "2017-06-19 01:22:40" }, { "name": "mrclay/jsmin-php", @@ -1839,7 +1940,7 @@ "jsmin", "minify" ], - "time": "2015-03-30T15:04:42+00:00" + "time": "2015-03-30 15:04:42" }, { "name": "mrclay/minify", @@ -1901,7 +2002,7 @@ ], "description": "Minify is a PHP5 app that helps you follow several rules for client-side performance. It combines multiple CSS or Javascript files, removes unnecessary whitespace and comments, and serves them with gzip encoding and optimal client-side cache headers", "homepage": "https://github.com/mrclay/minify", - "time": "2017-11-03T21:00:15+00:00" + "time": "2017-11-03 21:00:15" }, { "name": "mrclay/props-dic", @@ -1953,7 +2054,7 @@ "di", "di container" ], - "time": "2016-02-10T18:59:20+00:00" + "time": "2016-02-10 18:59:20" }, { "name": "natxet/CssMin", @@ -2000,7 +2101,7 @@ "css", "minify" ], - "time": "2018-01-09T11:15:01+00:00" + "time": "2018-01-09 11:15:01" }, { "name": "noam148/yii2-image-manager", @@ -2049,7 +2150,7 @@ "widget", "yii2" ], - "time": "2018-06-08T17:29:40+00:00" + "time": "2018-06-08 17:29:40" }, { "name": "noam148/yii2-image-resize", @@ -2095,7 +2196,7 @@ "resize", "yii2" ], - "time": "2018-02-18T19:23:04+00:00" + "time": "2018-02-18 19:23:04" }, { "name": "phpseclib/phpseclib", @@ -2187,7 +2288,7 @@ "x.509", "x509" ], - "time": "2018-04-15T16:55:05+00:00" + "time": "2018-04-15 16:55:05" }, { "name": "pimple/pimple", @@ -2237,7 +2338,7 @@ "container", "dependency injection" ], - "time": "2018-01-21T07:42:36+00:00" + "time": "2018-01-21 07:42:36" }, { "name": "psr/cache", @@ -2283,7 +2384,7 @@ "psr", "psr-6" ], - "time": "2016-08-06T20:24:11+00:00" + "time": "2016-08-06 20:24:11" }, { "name": "psr/container", @@ -2332,7 +2433,7 @@ "container-interop", "psr" ], - "time": "2017-02-14T16:28:37+00:00" + "time": "2017-02-14 16:28:37" }, { "name": "psr/http-message", @@ -2382,7 +2483,7 @@ "request", "response" ], - "time": "2016-08-06T14:39:51+00:00" + "time": "2016-08-06 14:39:51" }, { "name": "psr/log", @@ -2429,7 +2530,7 @@ "psr", "psr-3" ], - "time": "2016-10-10T12:19:37+00:00" + "time": "2016-10-10 12:19:37" }, { "name": "rmrevin/yii2-fontawesome", @@ -2481,7 +2582,7 @@ "font", "yii" ], - "time": "2017-01-11T14:05:47+00:00" + "time": "2017-01-11 14:05:47" }, { "name": "skeeks/yii2-assets-auto-compress", @@ -2538,7 +2639,7 @@ "skeeks", "yii" ], - "time": "2018-06-07T10:04:05+00:00" + "time": "2018-06-07 10:04:05" }, { "name": "swiftmailer/swiftmailer", @@ -2597,7 +2698,7 @@ "mail", "mailer" ], - "time": "2018-07-13T07:04:35+00:00" + "time": "2018-07-13 07:04:35" }, { "name": "tedivm/jshrink", @@ -2643,7 +2744,7 @@ "javascript", "minifier" ], - "time": "2017-12-08T00:59:56+00:00" + "time": "2017-12-08 00:59:56" }, { "name": "tinymce/tinymce", @@ -2689,7 +2790,7 @@ "tinymce", "wysiwyg" ], - "time": "2018-08-09T09:17:07+00:00" + "time": "2018-08-09 09:17:07" }, { "name": "tubalmartin/cssmin", @@ -2742,7 +2843,7 @@ "minify", "yui" ], - "time": "2018-01-15T15:26:51+00:00" + "time": "2018-01-15 15:26:51" }, { "name": "yii2tech/ar-linkmany", @@ -2793,7 +2894,7 @@ "relaton", "yii2" ], - "time": "2018-02-09T14:02:04+00:00" + "time": "2018-02-09 14:02:04" }, { "name": "yii2tech/ar-position", @@ -2842,7 +2943,7 @@ "sort", "yii2" ], - "time": "2017-11-01T10:56:01+00:00" + "time": "2017-11-01 10:56:01" }, { "name": "yii2tech/ar-variation", @@ -2896,7 +2997,7 @@ "variator", "yii2" ], - "time": "2018-04-09T08:43:38+00:00" + "time": "2018-04-09 08:43:38" }, { "name": "yii2tech/filedb", @@ -2944,7 +3045,7 @@ "static", "yii2" ], - "time": "2018-04-09T08:12:49+00:00" + "time": "2018-04-09 08:12:49" }, { "name": "yiisoft/yii2", @@ -3044,7 +3145,7 @@ "framework", "yii2" ], - "time": "2018-03-21T18:36:53+00:00" + "time": "2018-03-21 18:36:53" }, { "name": "yiisoft/yii2-bootstrap", @@ -3104,7 +3205,7 @@ "bootstrap", "yii2" ], - "time": "2018-02-16T10:41:52+00:00" + "time": "2018-02-16 10:41:52" }, { "name": "yiisoft/yii2-composer", @@ -3158,7 +3259,7 @@ "extension installer", "yii2" ], - "time": "2018-07-05T15:44:47+00:00" + "time": "2018-07-05 15:44:47" }, { "name": "yiisoft/yii2-httpclient", @@ -3205,7 +3306,7 @@ "httpclient", "yii2" ], - "time": "2018-02-13T15:11:30+00:00" + "time": "2018-02-13 15:11:30" }, { "name": "yiisoft/yii2-imagine", @@ -3253,7 +3354,7 @@ "imagine", "yii2" ], - "time": "2018-02-22T11:57:06+00:00" + "time": "2018-02-22 11:57:06" }, { "name": "yiisoft/yii2-jui", @@ -3299,7 +3400,7 @@ "jQuery UI", "yii2" ], - "time": "2017-11-25T15:32:29+00:00" + "time": "2017-11-25 15:32:29" }, { "name": "yiisoft/yii2-swiftmailer", @@ -3349,7 +3450,7 @@ "swiftmailer", "yii2" ], - "time": "2018-04-24T23:17:42+00:00" + "time": "2018-04-24 23:17:42" }, { "name": "yiister/yii2-gentelella", @@ -3407,7 +3508,7 @@ "theme", "yii2" ], - "time": "2017-11-12T16:49:22+00:00" + "time": "2017-11-12 16:49:22" } ], "packages-dev": [ @@ -3468,7 +3569,7 @@ "gherkin", "parser" ], - "time": "2017-08-30T11:04:43+00:00" + "time": "2017-08-30 11:04:43" }, { "name": "bower-asset/typeahead.js", @@ -3576,7 +3677,7 @@ "functional testing", "unit testing" ], - "time": "2018-08-01T07:46:24+00:00" + "time": "2018-08-01 07:46:24" }, { "name": "codeception/phpunit-wrapper", @@ -3619,7 +3720,7 @@ } ], "description": "PHPUnit classes used by Codeception", - "time": "2018-08-28T23:24:24+00:00" + "time": "2018-08-28 23:24:24" }, { "name": "codeception/stub", @@ -3649,7 +3750,7 @@ "MIT" ], "description": "Flexible Stub wrapper for PHPUnit's Mock Builder", - "time": "2018-07-26T11:55:37+00:00" + "time": "2018-07-26 11:55:37" }, { "name": "codeception/verify", @@ -3685,7 +3786,7 @@ } ], "description": "BDD assertion library for PHPUnit", - "time": "2017-01-09T10:58:51+00:00" + "time": "2017-01-09 10:58:51" }, { "name": "doctrine/instantiator", @@ -3739,7 +3840,7 @@ "constructor", "instantiate" ], - "time": "2017-07-22T11:58:36+00:00" + "time": "2017-07-22 11:58:36" }, { "name": "fzaninotto/faker", @@ -3789,7 +3890,7 @@ "faker", "fixtures" ], - "time": "2018-07-12T10:23:15+00:00" + "time": "2018-07-12 10:23:15" }, { "name": "myclabs/deep-copy", @@ -3837,7 +3938,7 @@ "object", "object graph" ], - "time": "2018-06-11T23:09:50+00:00" + "time": "2018-06-11 23:09:50" }, { "name": "phar-io/manifest", @@ -3892,7 +3993,7 @@ } ], "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "time": "2018-07-08T19:23:20+00:00" + "time": "2018-07-08 19:23:20" }, { "name": "phar-io/version", @@ -3939,7 +4040,7 @@ } ], "description": "Library for handling version information and constraints", - "time": "2018-07-08T19:19:57+00:00" + "time": "2018-07-08 19:19:57" }, { "name": "phpdocumentor/reflection-common", @@ -3993,7 +4094,7 @@ "reflection", "static analysis" ], - "time": "2017-09-11T18:02:19+00:00" + "time": "2017-09-11 18:02:19" }, { "name": "phpdocumentor/reflection-docblock", @@ -4044,7 +4145,7 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2017-11-30T07:14:17+00:00" + "time": "2017-11-30 07:14:17" }, { "name": "phpdocumentor/type-resolver", @@ -4091,7 +4192,7 @@ "email": "me@mikevanriel.com" } ], - "time": "2017-07-14T14:27:02+00:00" + "time": "2017-07-14 14:27:02" }, { "name": "phpspec/php-diff", @@ -4129,7 +4230,7 @@ } ], "description": "A comprehensive library for generating differences between two hashable objects (strings or arrays).", - "time": "2016-04-07T12:29:16+00:00" + "time": "2016-04-07 12:29:16" }, { "name": "phpspec/prophecy", @@ -4192,7 +4293,7 @@ "spy", "stub" ], - "time": "2018-08-05T17:53:17+00:00" + "time": "2018-08-05 17:53:17" }, { "name": "phpunit/php-code-coverage", @@ -4255,7 +4356,7 @@ "testing", "xunit" ], - "time": "2018-06-01T07:51:50+00:00" + "time": "2018-06-01 07:51:50" }, { "name": "phpunit/php-file-iterator", @@ -4302,7 +4403,7 @@ "filesystem", "iterator" ], - "time": "2018-06-11T11:44:00+00:00" + "time": "2018-06-11 11:44:00" }, { "name": "phpunit/php-text-template", @@ -4343,7 +4444,7 @@ "keywords": [ "template" ], - "time": "2015-06-21T13:50:34+00:00" + "time": "2015-06-21 13:50:34" }, { "name": "phpunit/php-timer", @@ -4392,7 +4493,7 @@ "keywords": [ "timer" ], - "time": "2018-02-01T13:07:23+00:00" + "time": "2018-02-01 13:07:23" }, { "name": "phpunit/php-token-stream", @@ -4441,20 +4542,20 @@ "keywords": [ "tokenizer" ], - "time": "2018-02-01T13:16:43+00:00" + "time": "2018-02-01 13:16:43" }, { "name": "phpunit/phpunit", - "version": "7.3.2", + "version": "7.3.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "34705f81bddc3f505b9599a2ef96e2b4315ba9b8" + "reference": "1bd5629cccfb2c0a9ef5474b4ff772349e1ec898" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/34705f81bddc3f505b9599a2ef96e2b4315ba9b8", - "reference": "34705f81bddc3f505b9599a2ef96e2b4315ba9b8", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1bd5629cccfb2c0a9ef5474b4ff772349e1ec898", + "reference": "1bd5629cccfb2c0a9ef5474b4ff772349e1ec898", "shasum": "" }, "require": { @@ -4525,7 +4626,7 @@ "testing", "xunit" ], - "time": "2018-08-22T06:39:21+00:00" + "time": "2018-09-01 15:49:55" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -4570,7 +4671,7 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2017-03-04T06:30:41+00:00" + "time": "2017-03-04 06:30:41" }, { "name": "sebastian/comparator", @@ -4634,7 +4735,7 @@ "compare", "equality" ], - "time": "2018-07-12T15:12:46+00:00" + "time": "2018-07-12 15:12:46" }, { "name": "sebastian/diff", @@ -4690,7 +4791,7 @@ "unidiff", "unified diff" ], - "time": "2018-06-10T07:54:39+00:00" + "time": "2018-06-10 07:54:39" }, { "name": "sebastian/environment", @@ -4740,7 +4841,7 @@ "environment", "hhvm" ], - "time": "2017-07-01T08:51:00+00:00" + "time": "2017-07-01 08:51:00" }, { "name": "sebastian/exporter", @@ -4807,7 +4908,7 @@ "export", "exporter" ], - "time": "2017-04-03T13:19:02+00:00" + "time": "2017-04-03 13:19:02" }, { "name": "sebastian/global-state", @@ -4858,7 +4959,7 @@ "keywords": [ "global state" ], - "time": "2017-04-27T15:39:26+00:00" + "time": "2017-04-27 15:39:26" }, { "name": "sebastian/object-enumerator", @@ -4905,7 +5006,7 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2017-08-03T12:35:26+00:00" + "time": "2017-08-03 12:35:26" }, { "name": "sebastian/object-reflector", @@ -4950,7 +5051,7 @@ ], "description": "Allows reflection of object attributes, including inherited and non-public ones", "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "time": "2017-03-29T09:07:27+00:00" + "time": "2017-03-29 09:07:27" }, { "name": "sebastian/recursion-context", @@ -5003,7 +5104,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2017-03-03T06:23:57+00:00" + "time": "2017-03-03 06:23:57" }, { "name": "sebastian/resource-operations", @@ -5045,7 +5146,7 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2015-07-28T20:34:47+00:00" + "time": "2015-07-28 20:34:47" }, { "name": "sebastian/version", @@ -5088,7 +5189,7 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2016-10-03T07:35:21+00:00" + "time": "2016-10-03 07:35:21" }, { "name": "symfony/browser-kit", @@ -5145,7 +5246,7 @@ ], "description": "Symfony BrowserKit Component", "homepage": "https://symfony.com", - "time": "2018-07-26T09:10:45+00:00" + "time": "2018-07-26 09:10:45" }, { "name": "symfony/console", @@ -5213,7 +5314,7 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-07-26T11:24:31+00:00" + "time": "2018-07-26 11:24:31" }, { "name": "symfony/css-selector", @@ -5266,7 +5367,7 @@ ], "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", - "time": "2018-07-26T09:10:45+00:00" + "time": "2018-07-26 09:10:45" }, { "name": "symfony/dom-crawler", @@ -5323,7 +5424,7 @@ ], "description": "Symfony DomCrawler Component", "homepage": "https://symfony.com", - "time": "2018-07-26T11:00:49+00:00" + "time": "2018-07-26 11:00:49" }, { "name": "symfony/event-dispatcher", @@ -5386,7 +5487,7 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2018-07-26T09:10:45+00:00" + "time": "2018-07-26 09:10:45" }, { "name": "symfony/finder", @@ -5435,7 +5536,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2018-07-26T11:24:31+00:00" + "time": "2018-07-26 11:24:31" }, { "name": "symfony/polyfill-ctype", @@ -5493,7 +5594,7 @@ "polyfill", "portable" ], - "time": "2018-08-06T14:22:27+00:00" + "time": "2018-08-06 14:22:27" }, { "name": "symfony/polyfill-mbstring", @@ -5552,7 +5653,7 @@ "portable", "shim" ], - "time": "2018-08-06T14:22:27+00:00" + "time": "2018-08-06 14:22:27" }, { "name": "symfony/yaml", @@ -5611,7 +5712,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2018-08-18T16:52:46+00:00" + "time": "2018-08-18 16:52:46" }, { "name": "theseer/tokenizer", @@ -5651,7 +5752,7 @@ } ], "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "time": "2017-04-07T12:08:54+00:00" + "time": "2017-04-07 12:08:54" }, { "name": "webmozart/assert", @@ -5701,7 +5802,7 @@ "check", "validate" ], - "time": "2018-01-29T19:49:41+00:00" + "time": "2018-01-29 19:49:41" }, { "name": "yiisoft/yii2-debug", @@ -5748,7 +5849,7 @@ "debugger", "yii2" ], - "time": "2017-12-05T07:36:23+00:00" + "time": "2017-12-05 07:36:23" }, { "name": "yiisoft/yii2-faker", @@ -5795,7 +5896,7 @@ "faker", "yii2" ], - "time": "2018-02-19T20:27:10+00:00" + "time": "2018-02-19 20:27:10" }, { "name": "yiisoft/yii2-gii", @@ -5848,7 +5949,7 @@ "gii", "yii2" ], - "time": "2018-05-02T22:05:25+00:00" + "time": "2018-05-02 22:05:25" } ], "aliases": [], diff --git a/frontend/config/main.php b/frontend/config/main.php index 8f278eb..5d912e5 100755 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -13,7 +13,7 @@ 'id' => 'app-frontend', 'homeUrl' => '/', 'basePath' => dirname(__DIR__), - 'bootstrap' => [ 'log' ], + 'bootstrap' => [ 'log' ,'devicedetect'], 'controllerNamespace' => 'frontend\controllers', 'container' => [ 'singletons' => [ @@ -141,6 +141,10 @@ ], ], 'components' => [ + + 'devicedetect' => [ + 'class' => 'alexandernst\devicedetect\DeviceDetect' + ], 'request' => [ 'csrfParam' => '_csrf-frontend', 'baseUrl' => '', diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 961e2cf..86c1cd0 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -145,19 +145,26 @@ JS;