Update docs for file().

Mention that relative paths will be prepended with APP.

Refs #3370
This commit is contained in:
mark_story 2014-04-23 22:15:10 -04:00
parent a3ad1c859f
commit 2333c3d535

View file

@ -1247,7 +1247,8 @@ class CakeResponse {
* - name: Alternate download name
* - download: If `true` sets download header and forces file to be downloaded rather than displayed in browser
*
* @param string $path Path to file
* @param string $path Path to file. If the path is not an absolute path that resolves
* to a file, `APP` will be prepended to the path.
* @param array $options Options See above.
* @return void
* @throws NotFoundException