mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-29213 - add clarification note + todo once MDL-30039 arrives
This commit is contained in:
parent
5fbf87c802
commit
799be36820
@ -35,6 +35,10 @@ if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false) {
|
||||
}
|
||||
|
||||
// IE 9 workaround for Flash bug: MDL-29213
|
||||
// Note that it's not clear if appending the meta tag via $CFG->additionalhtmlhead
|
||||
// is correct at all, both because of the mechanism itself and because MS says
|
||||
// the tag must be used *before* including other stuff. See the issue for more info.
|
||||
// TODO: Once we implement some way to inject meta tags, change this to use it. MDL-30039
|
||||
if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 9') !== false) {
|
||||
if (!isset($CFG->additionalhtmlhead)) { //check to make sure set first - that way we can use .=
|
||||
$CFG->additionalhtmlhead = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user