mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: reverted revision 105890 to fix build (from r105903)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112509 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3b4d0a7422
commit
716b5cd6c5
@ -275,6 +275,7 @@ class Director {
|
||||
return "redirect:" . Director::absoluteURL($arguments['Redirect'], true);
|
||||
|
||||
} else {
|
||||
Director::$urlParams = $arguments;
|
||||
$controllerObj = new $controller();
|
||||
$controllerObj->setSession($session);
|
||||
|
||||
|
@ -116,7 +116,7 @@ class RequestHandler extends ViewableData {
|
||||
if($this instanceof Controller) $this->urlParams = $request->allParams();
|
||||
|
||||
// Backwards compatible setting of url parameters, please use SS_HTTPRequest->latestParam() instead
|
||||
Director::setUrlParams($request->latestParams());
|
||||
//Director::setUrlParams($request->latestParams());
|
||||
|
||||
if(isset($_REQUEST['debug_request'])) {
|
||||
Debug::message("Rule '$rule' matched to action '$action' on $this->class. Latest request params: " . var_export($request->latestParams(), true));
|
||||
|
Loading…
Reference in New Issue
Block a user