mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-30 22:48:19 +08:00
removed metions of 1.1
This commit is contained in:
@@ -56,7 +56,6 @@ class AssetManager extends Component
|
||||
/**
|
||||
* @var array list of directories and files which should be excluded from the publishing process.
|
||||
* Defaults to exclude '.svn' and '.gitignore' files only. This option has no effect if {@link linkAssets} is enabled.
|
||||
* @since 1.1.6
|
||||
**/
|
||||
public $excludeFiles = array('.svn', '.gitignore');
|
||||
/**
|
||||
|
||||
@@ -112,8 +112,8 @@ class Response extends \yii\base\Response
|
||||
* <li>mimeType: mime type of the file, if not set it will be guessed automatically based on the file name, if set to null no content-type header will be sent.</li>
|
||||
* <li>xHeader: appropriate x-sendfile header, defaults to "X-Sendfile"</li>
|
||||
* <li>terminate: whether to terminate the current application after calling this method, defaults to true</li>
|
||||
* <li>forceDownload: specifies whether the file will be downloaded or shown inline, defaults to true. (Since version 1.1.9.)</li>
|
||||
* <li>addHeaders: an array of additional http headers in header-value pairs (available since version 1.1.10)</li>
|
||||
* <li>forceDownload: specifies whether the file will be downloaded or shown inline, defaults to true</li>
|
||||
* <li>addHeaders: an array of additional http headers in header-value pairs</li>
|
||||
* </ul>
|
||||
*/
|
||||
public function xSendFile($filePath, $options = array())
|
||||
|
||||
Reference in New Issue
Block a user