projects
/
Packages
/
TYPO3.CMS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836b07c
)
follow up to #9281: declared t3lib_div::redirect() static
author
Ingo Renner
<ingo.renner@typo3.org>
Wed, 3 Sep 2008 18:04:15 +0000
(18:04 +0000)
committer
Ingo Renner
<ingo.renner@typo3.org>
Wed, 3 Sep 2008 18:04:15 +0000
(18:04 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4056
709f56b5
-9817-0410-a4d7-
c38de5d9e867
t3lib/class.t3lib_div.php
patch
|
blob
|
history
diff --git
a/t3lib/class.t3lib_div.php
b/t3lib/class.t3lib_div.php
index
bc3407c
..
933a926
100755
(executable)
--- a/
t3lib/class.t3lib_div.php
+++ b/
t3lib/class.t3lib_div.php
@@
-3326,7
+3326,7
@@
final class t3lib_div {
* @param string The target URL to redirect to
* @param string An optional HTTP status header. Default is 'HTTP/1.1 303 See Other'
*/
- public function redirect($url, $httpStatus = 'HTTP/1.1 303 See Other') {
+ public
static
function redirect($url, $httpStatus = 'HTTP/1.1 303 See Other') {
header($httpStatus);
header('Location: ' . t3lib_div::locationHeaderUrl($url));