File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,7 @@ function probabilities() {return dfc($this, function() {
43
43
* @used-by vendor/mage2pro/color/view/frontend/templates/index.phtml
44
44
* @param string $path
45
45
*/
46
- function __construct ($ path ) {
47
- dfcf (function () {
48
- // 2019-08-21
49
- // https://googleapis.github.io/google-cloud-php/#/docs/google-cloud/v0.107.1/guides/authentication
50
- // https://github.com/googleapis/google-auth-library-php/tree/v1.5.2#application-default-credentials
51
- putenv ('GOOGLE_APPLICATION_CREDENTIALS= ' . df_fs_etc ('google-app-credentials.json ' ));
52
- });
53
- $ this ->_path = $ path ;
54
- }
46
+ function __construct ($ path ) {$ this ->_path = $ path ; df_google_init_service_account ();}
55
47
56
48
/**
57
49
* 2019-08-22
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mage2pro/color"
3
- ,"version" : " 1.0.8 "
3
+ ,"version" : " 1.0.9 "
4
4
,"description" : " A product image color categorization module for Magento 2"
5
5
,"type" : " magento2-module"
6
6
,"homepage" : " https://mage2.pro/c/extensions/color"
11
11
,"homepage" : " https://mage2.pro/users/dmitry_fedyuk"
12
12
,"role" : " Developer"
13
13
}]
14
- ,"require" : {"google/cloud-vision" : " *" , "mage2pro/core" : " >=5.4 .0" }
14
+ ,"require" : {"google/cloud-vision" : " *" , "mage2pro/core" : " >=7.0 .0" }
15
15
,"autoload" : {"files" : [" registration.php" ], "psr-4" : {"Dfe\\ Color\\ " : " " }}
16
16
,"keywords" : [
17
17
" eCommerce"
You can’t perform that action at this time.
0 commit comments