aimeos / aimeos-core

Aimeos PHP e-commerce framework for ultra fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce
https://aimeos.org
Other
3.38k stars 116 forks source link

Add adapter mapping to support pdo driver #306

Closed rhabacker closed 1 year ago

rhabacker commented 1 year ago

This pull request fixes a problem adding the Aimeos extension with a Typo3 installation that uses the pdo_pgsql driver, reported at https://github.com/aimeos/aimeos-typo3/issues/200.

aimeos commented 1 year ago

Changing it here is the wrong location because it there will be a lot more places to change when going this route. If you map the driver/adapter in the Resources/Private/Config/resource.php file of the Aimeos TYPO3 extension, it's much easier.

Aimeos already full works with PostgreSQL but the Aimeos TYPO3 extension itself isn't prepared for that. There are three places which must be adapted: resource.php, mshop.php (for Index manager) and the Update Wizard.