Skip to content

Commit 41bc25b

Browse files
1 parent c417cd2 commit 41bc25b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Controller/Index/Index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class Index extends \Magento\Framework\App\Action\Action {
2323
* https://github.com/magento/magento2/blob/2.2.1/lib/internal/Magento/Framework/App/Action/Action.php#L84-L125
2424
*/
2525
function execute():Json {return df_lxh(function():Json {return Json::i(Handler::p(df_my_local()
26-
? df_json_file_read(BP . '/_my/test/2Checkout/3/4.REFUND_ISSUED.json') : $this->getRequest()->getParams()
26+
# 2023-07-26 "`df_json_file_read` should accept internal paths": https://github.com/mage2pro/core/issues/278
27+
? df_json_file_read('_my/test/2Checkout/3/4.REFUND_ISSUED.json') : $this->getRequest()->getParams()
2728
));});}
2829
}

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mage2pro/2checkout"
3-
,"version": "1.7.3"
3+
,"version": "1.7.4"
44
,"description": "2Checkout integration with Magento 2"
55
,"type": "magento2-module"
66
,"homepage": "https://mage2.pro/c/extensions/2checkout"
@@ -11,7 +11,7 @@
1111
"homepage": "https://upwork.com/fl/mage2pro",
1212
"role": "Developer"
1313
}]
14-
,"require": {"mage2pro/core": ">=9.7.8", "2checkout/2checkout-php": "*"}
14+
,"require": {"mage2pro/core": ">=9.9.9", "2checkout/2checkout-php": "*"}
1515
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\TwoCheckout\\": ""}}
1616
,"keywords": [
1717
"2Checkout"

0 commit comments

Comments
 (0)