diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c5287f4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+.idea/
+vendor
\ No newline at end of file
diff --git a/Components/BunnyCDNAdapter.php b/Components/BunnyCDNAdapter.php
index 9032e7d..04fe7e7 100644
--- a/Components/BunnyCDNAdapter.php
+++ b/Components/BunnyCDNAdapter.php
@@ -1,6 +1,6 @@
- %kernel.cache_dir%/bunnycdn
+ %kernel.cache_dir%/bunnycdn
-
+
-
+
-
- %swag_media_bunnycdn.cache_dir%
+
+ %frosh_bunnycdn_media_storage.cache_dir%
diff --git a/Subscriber/AdapterCollectionSubscriber.php b/Subscriber/AdapterCollectionSubscriber.php
index 993ccfe..d7300fb 100644
--- a/Subscriber/AdapterCollectionSubscriber.php
+++ b/Subscriber/AdapterCollectionSubscriber.php
@@ -1,12 +1,12 @@
false];
$config = $args->get('config');
-
return new BunnyCDNAdapter(array_merge($config,$defaultConfig), $this->cache, $this->container);
}
}
diff --git a/TinectMediaBunnycdn.php b/TinectMediaBunnycdn.php
deleted file mode 100644
index 8f6766b..0000000
--- a/TinectMediaBunnycdn.php
+++ /dev/null
@@ -1,9 +0,0 @@
-
- 1.0.2
- tinect
- MIT
-
-
+
+
- BunnyCDN-Extension for Media Adapter
+ 1.0.3
+ Friends of Shopware
+ MIT
+ https://github.com/FriendsOfShopware/FroshBunnycdnMediaStorage
+ Friends of Shopware
-config.php:
-'cdn' =>
- [
- 'backend' => 'bunnycdn',
- 'adapters' => [
- 'bunnycdn' =>
- array (
- 'type' => 'bunnycdn',
- 'mediaUrl' => 'https://example.b-cdn.net/',
- 'apiUrl' => 'https://storage.bunnycdn.com/example/',
- 'apiKey' => 'secret-api-key'
- )
- ]
-dont't forget running "bin/console sw:media:migrate --from=local --to=bunnycdn" if you have existing media.
-More Info: https://developers.shopware.com/developers-guide/shopware-5-media-service/#file-system-adapters
- ]]>
+ Media-Storage-Adapter for bunnyCDN
+ Media-Storage-Adapter für bunnyCDN
+
+ Willkommen bei Frosh
+ Welcome to Frosh
+
+
+