CSS charset header must be emitted, thanks to SADtg
This commit is contained in:
@ -3,6 +3,9 @@
|
|||||||
Version 1.2 ()
|
Version 1.2 ()
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
* Add proper charset to CSS stylesheet. Thanks to SADtg
|
||||||
|
(garvinhicking)
|
||||||
|
|
||||||
* Strip tags from comments also in RSS-Feeds for comments, thanks to
|
* Strip tags from comments also in RSS-Feeds for comments, thanks to
|
||||||
tmix from the forums (garvinhicking)
|
tmix from the forums (garvinhicking)
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) {
|
|||||||
header('Pragma:');
|
header('Pragma:');
|
||||||
header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time()+3600));
|
header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time()+3600));
|
||||||
}
|
}
|
||||||
header('Content-type: text/css');
|
header('Content-type: text/css; charset=' . LANG_CHARSET);
|
||||||
|
|
||||||
if (IS_installed === false) {
|
if (IS_installed === false) {
|
||||||
if (file_exists(S9Y_INCLUDE_PATH . 'templates/' . $serendipity['defaultTemplate'] . '/' . $css_file)) {
|
if (file_exists(S9Y_INCLUDE_PATH . 'templates/' . $serendipity['defaultTemplate'] . '/' . $css_file)) {
|
||||||
|
Reference in New Issue
Block a user