Skip to content

Instantly share code, notes, and snippets.

@schams-net
Created July 3, 2017 19:31
Show Gist options
  • Save schams-net/555414216d3ec7d1995df41498d05f8c to your computer and use it in GitHub Desktop.
Save schams-net/555414216d3ec7d1995df41498d05f8c to your computer and use it in GitHub Desktop.
Patch to make EXT:aws_sdk_php compatible with TYPO3 version 8.x
--- aws_sdk_php/Contrib/aws-autoloader.php.a 2017-07-03 18:01:54.227378997 +0000
+++ aws_sdk_php/Contrib/aws-autoloader.php.b 2017-06-24 03:18:00.000000000 +0000
@@ -717,13 +717,7 @@
}, true);
require __DIR__ . '/Aws/functions.php';
-if (!function_exists('GuzzleHttp\\uri_template')) {
- require __DIR__ . '/GuzzleHttp/functions.php';
-}
-if (!function_exists('GuzzleHttp\\Psr7\\str')) {
- require __DIR__ . '/GuzzleHttp/Psr7/functions.php';
-}
-if (!function_exists('GuzzleHttp\\Promise\\queue')) {
- require __DIR__ . '/GuzzleHttp/Promise/functions.php';
-}
+require __DIR__ . '/GuzzleHttp/functions.php';
+require __DIR__ . '/GuzzleHttp/Psr7/functions.php';
+require __DIR__ . '/GuzzleHttp/Promise/functions.php';
require __DIR__ . '/JmesPath/JmesPath.php';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment