summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/ViewSource.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages/ViewSource.php')
-rw-r--r--demos/quickstart/protected/pages/ViewSource.php2
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)