mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Added instructions to try and prevent #2901 issues reoccurring
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63636 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3167c05395
commit
13b7b4c4e7
@ -49,6 +49,10 @@ class Controller extends RequestHandlingData {
|
||||
|
||||
/**
|
||||
* Handles HTTP requests.
|
||||
*
|
||||
* If you are going to overload handleRequest, make sure that you start the method with $this->pushCurrent()
|
||||
* and end the method with $this->popCurrent(). Failure to do this will create weird session errors.
|
||||
*
|
||||
* @param $request The {@link HTTPRequest} object that is responsible for distributing request parsing.
|
||||
*/
|
||||
function handleRequest(HTTPRequest $request) {
|
||||
|
Loading…
Reference in New Issue
Block a user