Commit d6fd4507 by Qiang Xue

typo fix.

parent 754ad634
...@@ -552,7 +552,7 @@ class Response extends \yii\base\Response ...@@ -552,7 +552,7 @@ class Response extends \yii\base\Response
{ {
$headers = $this->getHeaders(); $headers = $this->getHeaders();
$disposition = $inline ? 'attachment' : 'inline'; $disposition = $inline ? 'inline' : 'attachment';
$headers->setDefault('Pragma', 'public') $headers->setDefault('Pragma', 'public')
->setDefault('Accept-Ranges', 'bytes') ->setDefault('Accept-Ranges', 'bytes')
->setDefault('Expires', '0') ->setDefault('Expires', '0')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment