mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
Add upgrade note about HeadersAlreadySentException
This commit is contained in:
@ -284,7 +284,10 @@ Upgrade from Yii 2.0.13
|
||||
- If you are using XCache or Zend data cache, those are going away in 2.1 so you might want to start looking for an alternative.
|
||||
|
||||
* In case you aren't using CSRF cookies (REST APIs etc.) you should turn them off explicitly by setting
|
||||
`\yii\web\Request::$enableCsrfCookie` to `false` in your config file.
|
||||
`\yii\web\Request::$enableCsrfCookie` to `false` in your config file.
|
||||
|
||||
* Previously headers sent after content output was started were silently ignored. This behavior was changed to throwing
|
||||
`\yii\web\HeadersAlreadySentException`.
|
||||
|
||||
Upgrade from Yii 2.0.12
|
||||
-----------------------
|
||||
|
||||
Reference in New Issue
Block a user