dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c85de2a
)
Cleaned up some whitespace from 45b9073b61d3aa569adb8cff46531a5b06b8bb7a
author
Aaron
<aschulz@wikimedia.org>
Fri, 31 Aug 2012 23:24:19 +0000
(16:24 -0700)
committer
Aaron
<aschulz@wikimedia.org>
Fri, 31 Aug 2012 23:24:19 +0000
(16:24 -0700)
Change-Id: I42e376d80d6cc483b96e815d63b19aee78fe1127
includes/filebackend/FileBackend.php
patch
|
blob
|
history
diff --git
a/includes/filebackend/FileBackend.php
b/includes/filebackend/FileBackend.php
index
2ab7655
..
ab8a327
100644
(file)
--- a/
includes/filebackend/FileBackend.php
+++ b/
includes/filebackend/FileBackend.php
@@
-1112,8
+1112,8
@@
abstract class FileBackend {
* @return string
*/
final public static function makeContentDisposition( $type, $filename ) {
- $type
= strtolower( $type );
- $type
= in_array( $type, array( 'inline', 'attachment' ) ) ? $type : 'inline';
+ $type = strtolower( $type );
+ $type = in_array( $type, array( 'inline', 'attachment' ) ) ? $type : 'inline';
return "$type; filename*=UTF-8''" . rawurlencode( basename( $filename ) );
}