mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge pull request #1403 from bantu/ticket/11105
[ticket/11105] Add mandatory space to content part of meta http-equiv=re...
This commit is contained in:
commit
45e014d35d
2 changed files with 2 additions and 2 deletions
|
@ -2740,7 +2740,7 @@ function meta_refresh($time, $url, $disable_cd_check = false)
|
||||||
|
|
||||||
// For XHTML compatibility we change back & to &
|
// For XHTML compatibility we change back & to &
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'META' => '<meta http-equiv="refresh" content="' . $time . ';url=' . $url . '" />')
|
'META' => '<meta http-equiv="refresh" content="' . $time . '; url=' . $url . '" />')
|
||||||
);
|
);
|
||||||
|
|
||||||
return $url;
|
return $url;
|
||||||
|
|
|
@ -2087,7 +2087,7 @@ class install_convert extends module
|
||||||
// Because we should not rely on correct settings, we simply use the relative path here directly.
|
// Because we should not rely on correct settings, we simply use the relative path here directly.
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'S_REFRESH' => true,
|
'S_REFRESH' => true,
|
||||||
'META' => '<meta http-equiv="refresh" content="5;url=' . $url . '" />')
|
'META' => '<meta http-equiv="refresh" content="5; url=' . $url . '" />')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue