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:
Ingo Schommer 2010-10-15 02:53:31 +00:00
parent 3b4d0a7422
commit 716b5cd6c5
2 changed files with 2 additions and 1 deletions

View File

@ -275,6 +275,7 @@ class Director {
return "redirect:" . Director::absoluteURL($arguments['Redirect'], true); return "redirect:" . Director::absoluteURL($arguments['Redirect'], true);
} else { } else {
Director::$urlParams = $arguments;
$controllerObj = new $controller(); $controllerObj = new $controller();
$controllerObj->setSession($session); $controllerObj->setSession($session);

View File

@ -116,7 +116,7 @@ class RequestHandler extends ViewableData {
if($this instanceof Controller) $this->urlParams = $request->allParams(); if($this instanceof Controller) $this->urlParams = $request->allParams();
// Backwards compatible setting of url parameters, please use SS_HTTPRequest->latestParam() instead // 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'])) { if(isset($_REQUEST['debug_request'])) {
Debug::message("Rule '$rule' matched to action '$action' on $this->class. Latest request params: " . var_export($request->latestParams(), true)); Debug::message("Rule '$rule' matched to action '$action' on $this->class. Latest request params: " . var_export($request->latestParams(), true));