Browse Source

Replace request with response in code example

tags/2.0.0-beta
Alexander Kozhevnikov 11 years ago
parent
commit
41d24ee903
  1. 2
      framework/yii/web/Response.php

2
framework/yii/web/Response.php

@ -542,7 +542,7 @@ class Response extends \yii\base\Response
* **Example** * **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 * @param string $filePath file name with full path

Loading…
Cancel
Save