Browse Source

Merge pull request #1465 from Bethrezen/patch-3

Replace request with response in code example
tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
8ce2f170ab
  1. 2
      framework/yii/web/Response.php

2
framework/yii/web/Response.php

@ -542,7 +542,7 @@ class Response extends \yii\base\Response
* **Example**
*
* ~~~
* Yii::$app->request->xSendFile('/home/user/Pictures/picture1.jpg');
* Yii::$app->response->xSendFile('/home/user/Pictures/picture1.jpg');
* ~~~
*
* @param string $filePath file name with full path

Loading…
Cancel
Save