From 3f803219e784b53f363b5ef25b3be00fd310fb1c Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 24 Jan 2006 23:21:08 +0000 Subject: Modified THttpRequest and THttpSession so that they can be used like an array. Items properties are removed as a result. --- demos/quickstart/protected/controls/SampleLayout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/quickstart/protected/controls/SampleLayout.php') 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(); } -- cgit v1.2.3