From 60e486b5697030d18311f67de29b95a892c7d95d Mon Sep 17 00:00:00 2001
From: xue <>
Date: Tue, 7 Feb 2006 19:05:33 +0000
Subject: Added UrlFormat property to THttpRequest.
---
demos/personal/protected/Pages/UserLogin.php | 2 +-
demos/personal/protected/application.xml | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
(limited to 'demos/personal')
diff --git a/demos/personal/protected/Pages/UserLogin.php b/demos/personal/protected/Pages/UserLogin.php
index ba33f1fa..ce653179 100644
--- a/demos/personal/protected/Pages/UserLogin.php
+++ b/demos/personal/protected/Pages/UserLogin.php
@@ -13,7 +13,7 @@ class UserLogin extends TPage
{
parent::onLoadComplete($param);
if($this->IsPostBack && $this->IsValid)
- $this->Response->redirect($this->Request['ReturnUrl']);
+ $this->Response->redirect($this->Application->getModule('auth')->getReturnUrl());
}
}
diff --git a/demos/personal/protected/application.xml b/demos/personal/protected/application.xml
index 5015bab0..4c26afec 100644
--- a/demos/personal/protected/application.xml
+++ b/demos/personal/protected/application.xml
@@ -6,6 +6,9 @@
+
--
cgit v1.2.3