diff options
author | xue <> | 2006-01-25 05:18:10 +0000 |
---|---|---|
committer | xue <> | 2006-01-25 05:18:10 +0000 |
commit | 2ef6c10c54acc485dc5ac12e1fc856b630243646 (patch) | |
tree | 008cf5ee69dcbab30a9e9a80524638a728c0ea00 /demos/quickstart/protected/pages/ViewSource.php | |
parent | 196141bf72e092c911906d9530fa4ddf53bc3276 (diff) |
Added description for list controls. Fixed a bug about viewsource in tutorial demo.
Diffstat (limited to 'demos/quickstart/protected/pages/ViewSource.php')
-rw-r--r-- | demos/quickstart/protected/pages/ViewSource.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)
|