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:
0c4c412
)
set ctype in any case for gen
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 9 Jun 2004 13:43:26 +0000
(13:43 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Wed, 9 Jun 2004 13:43:26 +0000
(13:43 +0000)
includes/RawPage.php
patch
|
blob
|
history
diff --git
a/includes/RawPage.php
b/includes/RawPage.php
index
6705b83
..
3d99586
100644
(file)
--- a/
includes/RawPage.php
+++ b/
includes/RawPage.php
@@
-23,11
+23,11
@@
class RawPage {
if($gen == 'css') {
$this->mGen = $gen;
if($smaxage == '') $smaxage = $wgSquidMaxage;
- if(
empty($ctype)
) $ctype = 'text/css';
+ if(
$ctype == ''
) $ctype = 'text/css';
} else if ($gen == 'js') {
$this->mGen = $gen;
if($smaxage == '') $smaxage = $wgSquidMaxage;
- if(
empty($ctype)
) $ctype = 'text/javascript';
+ if(
$ctype == ''
) $ctype = 'text/javascript';
} else {
$this->mGen = false;
}