Cybernox/AmazonWebServicesBundle — pull request #16 by cmenning (2012-10-25 21:35:19+00:00)
Title: Added check to see if s3 protocol is already registered

This fixes an issue I was having where in dev environment only the s3 protocol was being registered twice. It still is, but it no longer chokes on it.

Fixes the following error when clearing cache:

```
Clearing the cache for the dev environment with debug true

[ErrorException]
Warning: stream_wrapper_register(): Protocol s3:// is already defined. in {project_dir}\
trunk\vendor\cybernox\amazon-webservices-bundle\Cybernox\AmazonWebServicesBundle\
StreamWrapper\S3StreamWrapper.php line 46
```

Error was not occurring in Production mode, or it was failing silently.