BUGFIX: reverted revision 105890 to fix build

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@105903 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Carlos Barberis 2010-05-28 05:48:57 +00:00 committed by Sam Minnee
parent 3bbcb31364
commit 20fe6e8f6f
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -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));