Ver Fonte

Merge remote branch 'weaverryan/beta3_swiftmailer_update'

* weaverryan/beta3_swiftmailer_update:
  [UPDATE] Adding more details - the `Swift_` prefix must also be removed
  [UPDATE] Adding details on the swiftmailer config change
Fabien Potencier há 14 anos atrás
pai
commit
63f37c0e93
1 ficheiros alterados com 9 adições e 1 exclusões
  1. 9 1
      UPDATE.md

+ 9 - 1
UPDATE.md

@@ -130,6 +130,14 @@ beta2 to beta3
                 debug: true
                 file_cache_dir: /foo
 
+* In order to use Swiftmailer, you should now register its "init.php"
+  file via the autoloader ("app/autoloader.php") and remove the `Swift_`
+  prefix from the autoloader. For an example on how
+  this should be done, see the Standard Distribution
+  [autoload.php](https://github.com/symfony/symfony-standard/blob/v2.0.0BETA3/app/autoload.php#L18)
+  or the [change](https://github.com/symfony/symfony-standard/commit/69a78d30b07b5563ba972f2cc8f43326f64db8e2#app/autoload.php)
+  that was made to that file.
+
 beta1 to beta2
 --------------
 
@@ -615,4 +623,4 @@ PR8 to PR9
                     jar:      "/path/to/yuicompressor.jar"
                 my_filter:
                     resource: "%kernel.root_dir%/config/my_filter.xml"
-                    foo:      bar
+                    foo:      bar