mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Handle the special case of Context::loadFile($filename, true)
https://xetown.com/questions/1793899
This commit is contained in:
parent
5e914791e2
commit
d54eb4f3d5
2 changed files with 13 additions and 4 deletions
|
|
@ -113,6 +113,13 @@ class FrontEndFileHandler extends Handler
|
|||
}
|
||||
}
|
||||
|
||||
// Remove 'true' parameter used as a CDN flag in some XE versions.
|
||||
if (isset($args[1]) && $args[1] === true)
|
||||
{
|
||||
$args[1] = null;
|
||||
}
|
||||
|
||||
// Find the source type hint if possible.
|
||||
if (isset($args[2]) && preg_match('/IE/i', $args[2]))
|
||||
{
|
||||
$source_hint = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue