Skip to content

Commit

Permalink
Fixes yiisoft#861: changed CHttpRequest::redirect docs to match code
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Sep 9, 2012
1 parent b253faa commit 568a215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/web/CHttpRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,8 @@ public function getCookies()

/**
* Redirects the browser to the specified URL.
* @param string $url URL to be redirected to. If the URL is a relative one, the base URL of
* the application will be inserted at the beginning.
* @param string $url URL to be redirected to. Note that when URL is not
* absolute (not starting with "/") it will be relative to current request URL.
* @param boolean $terminate whether to terminate the current application
* @param integer $statusCode the HTTP status code. Defaults to 302. See {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html}
* for details about HTTP status code.
Expand Down

0 comments on commit 568a215

Please sign in to comment.