Closed DanMan closed 7 years ago
If you have to use the proxy plugin for external requests, the API requests in anyStores to Google or OSM don't work. It should be as simple as:
if(class_exists('ProxyRequest')) $objRequest = new \ProxyRequest(); else $objRequest = new \Request();`
inside the 2 API classes.
Fixed in 2.0
You sure that's right? Notice the NS escape on \ProxyRequest() in my code example.
\ProxyRequest()
https://github.com/Tastaturberuf/anyStores/blob/2.0.0-dev/src/Tastaturberuf/AnyStores/AnyStores.php#L65
If you have to use the proxy plugin for external requests, the API requests in anyStores to Google or OSM don't work. It should be as simple as:
inside the 2 API classes.