Skip to content

Commit

Permalink
Merge pull request #150 from bestit/feature/OXAP-344-fix-include
Browse files Browse the repository at this point in the history
OXAP-344 Fixed the include of the dependency autoloader to get the polyfill
  • Loading branch information
b3nl authored Feb 9, 2021
2 parents 829a8db + faa5f20 commit 1f84acb
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec2.0.0.html).
## [3.6.8] - 2020-02-09
### Fixed
- Fixed an include

## [3.6.7] - 2020-02-05
### Fixed
- Use random_bytes
Expand Down
5 changes: 4 additions & 1 deletion application/controllers/admin/bestitamazonpay4oxid_init.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
* @version GIT: $Id$
* @link http://www.bestit-online.de
*/
require_once dirname(__FILE__).'/../../../vendor/paragonie/random_compat/lib/random.php';
$sVendorAutoloader = realpath(dirname(__FILE__).'/../../../').'/vendor/autoload.php';

if (file_exists($sVendorAutoloader) === true) {
include_once realpath(dirname(__FILE__).'/../../../').'/vendor/autoload.php';
}
/**
* Class bestitAmazonPay4Oxid_init
*/
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "oxideshop-module",
"keywords": ["oxid", "modules", "eShop"],
"homepage": "https://www.bestit-online.de",
"version": "3.6.7",
"version": "3.6.8",
"license": [
"GPL-3.0-only",
"proprietary"
Expand Down
5 changes: 4 additions & 1 deletion ext/bestitamazonpay4oxid_module_config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php
require_once dirname(__FILE__).'/../vendor/paragonie/random_compat/lib/random.php';
$sVendorAutoloader = realpath(dirname(__FILE__).'/../').'/vendor/autoload.php';

if (file_exists($sVendorAutoloader) === true) {
include_once realpath(dirname(__FILE__).'/../').'/vendor/autoload.php';
}
/**
* Extension for OXID module_config controller
*
Expand Down
2 changes: 1 addition & 1 deletion metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<b style="color: red">Wenn Sie das Modul von einer vorhergehenden Version updaten muss das Module deaktivert und erneut aktiviert werden</b>'
),
'thumbnail' => 'bestitamazonpay4oxid_logo.png',
'version' => '3.6.7',
'version' => '3.6.8',
'author' => 'best it GmbH & Co. KG',
'url' => 'http://www.bestit-online.de',
'email' => '[email protected]',
Expand Down

0 comments on commit 1f84acb

Please sign in to comment.