Skip to content

Commit 5fbfa64

Browse files
committed
Merge pull request aws#3 from aykutfarsak/bug-fix
Laravel version bug fixed and README updated
2 parents 53e5426 + bb1aefc commit 5fbfa64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Create a new `app/config/aws.php` configuration file with the following options:
3131
return array(
3232
'key' => '<your-aws-access-key-id>',
3333
'secret' => '<your-aws-secret-access-key>',
34-
'region' => Region::US_WEST_2,
34+
'region' => Aws\Common\Enum\Region::US_WEST_2,
3535
);
3636
```
3737

src/Aws/Laravel/AwsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function register()
4444
$clientConfig = $event['client']->getConfig();
4545
$commandParams = $clientConfig->get(Client::COMMAND_PARAMS) ?: array();
4646
$clientConfig->set(Client::COMMAND_PARAMS, array_merge_recursive($commandParams, array(
47-
UserAgentListener::OPTION => 'Laravel/' . Application::VERSION,
47+
UserAgentListener::OPTION => 'Laravel' . ( defined('Application::VERSION') ? '/' . Application::VERSION : '' ),
4848
)));
4949
});
5050

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy