From 2ef6c10c54acc485dc5ac12e1fc856b630243646 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 25 Jan 2006 05:18:10 +0000 Subject: Added description for list controls. Fixed a bug about viewsource in tutorial demo. --- demos/quickstart/protected/pages/ViewSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/quickstart/protected/pages/ViewSource.php') diff --git a/demos/quickstart/protected/pages/ViewSource.php b/demos/quickstart/protected/pages/ViewSource.php index 2cb3df08..cfdc63ef 100644 --- a/demos/quickstart/protected/pages/ViewSource.php +++ b/demos/quickstart/protected/pages/ViewSource.php @@ -22,7 +22,7 @@ class ViewSource extends TPage public function onLoad($param) { parent::onLoad($param); - $path=$this->Request->Items['path']; + $path=$this->Request['path']; $fullPath=realpath($this->Service->BasePath.'/'.$path); $fileExt=$this->getFileExtension($fullPath); if($fullPath!==false && is_file($fullPath) && strpos($fullPath,$this->Service->BasePath)!==false) -- cgit v1.2.3