Skip to content
Permalink
Browse files

MDL-12153, "Validome - moodle.org invalid - require Content-Script-Ty…

…pe". Merged.
  • Loading branch information...
nfreear
nfreear committed Nov 13, 2007
1 parent 2c00ee9 commit 1a78d381ff556d38343edc74fa0747cb8670d372
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/weblib.php
@@ -2410,11 +2410,13 @@ function print_header ($title='', $heading='', $navigation='', $focus='',
}
$meta = '<meta http-equiv="content-type" content="text/html; charset=utf-8" />' .
$meta = '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />' .
"\n" . $meta . "\n";
if (!$usexml) {
@header('Content-type: text/html; charset=utf-8');
@header('Content-Type: text/html; charset=utf-8');
}
@header('Content-Script-Type: text/javascript');
@header('Content-Style-Type: text/css');
//Accessibility: added the 'lang' attribute to $direction, used in theme <html> tag.
$direction = get_html_lang($dir=true);

0 comments on commit 1a78d38

Please sign in to comment.
You can’t perform that action at this time.