summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorxue <>2006-01-24 23:21:08 +0000
committerxue <>2006-01-24 23:21:08 +0000
commit3f803219e784b53f363b5ef25b3be00fd310fb1c (patch)
treec606dea115d680a850c19e6a5da82f83e0a63fcf /demos
parentfd1af57313ceeed7a4ffc29e45455df666d30f3c (diff)
Modified THttpRequest and THttpSession so that they can be used like an array. Items properties are removed as a result.
Diffstat (limited to 'demos')
-rw-r--r--demos/personal/protected/Pages/UserLogin.php2
-rw-r--r--demos/quickstart/protected/controls/SampleLayout.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/personal/protected/Pages/UserLogin.php b/demos/personal/protected/Pages/UserLogin.php
index 0dd2cd79..ba33f1fa 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->Items['ReturnUrl']);
+ $this->Response->redirect($this->Request['ReturnUrl']);
}
}
diff --git a/demos/quickstart/protected/controls/SampleLayout.php b/demos/quickstart/protected/controls/SampleLayout.php
index 94b7ac74..2224572a 100644
--- a/demos/quickstart/protected/controls/SampleLayout.php
+++ b/demos/quickstart/protected/controls/SampleLayout.php
@@ -5,7 +5,7 @@ class SampleLayout extends TTemplateControl
public function __construct()
{
- if($this->Request->Items->contains('functionaltest'))
+ if(isset($this->Request['functionaltest']))
$this->Service->RequestedPage->EnableTheming=false;
parent::__construct();
}