diff options
author | xue <> | 2006-11-25 20:51:43 +0000 |
---|---|---|
committer | xue <> | 2006-11-25 20:51:43 +0000 |
commit | cb0aeb81d77d7170196f1b667978f56c6018100b (patch) | |
tree | 53deb6628356454d7e4348641135c84c1a909292 /demos/blog/protected/Common | |
parent | af340f68ef716b9a3c021a8cabc40068068bf3bf (diff) |
merge from 3.0 branch till 1508.
Diffstat (limited to 'demos/blog/protected/Common')
-rw-r--r-- | demos/blog/protected/Common/BlogErrorHandler.php | 2 | ||||
-rw-r--r-- | demos/blog/protected/Common/BlogPage.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/blog/protected/Common/BlogErrorHandler.php b/demos/blog/protected/Common/BlogErrorHandler.php index 012f2e4c..06042be1 100644 --- a/demos/blog/protected/Common/BlogErrorHandler.php +++ b/demos/blog/protected/Common/BlogErrorHandler.php @@ -36,7 +36,7 @@ class BlogErrorHandler extends TErrorHandler $message=$exception->getMessage();
Prado::log($message,TLogger::ERROR,'BlogApplication');
$message=urldecode($this->getApplication()->getSecurityManager()->hashData($message));
- $this->Response->redirect($this->Service->constructUrl('ErrorReport',array('msg'=>$message)));
+ $this->Response->redirect($this->Service->constructUrl('ErrorReport',array('msg'=>$message),false));
}
else
parent::handleExternalError($statusCode,$exception);
diff --git a/demos/blog/protected/Common/BlogPage.php b/demos/blog/protected/Common/BlogPage.php index dc59ba7b..aaf0c7e1 100644 --- a/demos/blog/protected/Common/BlogPage.php +++ b/demos/blog/protected/Common/BlogPage.php @@ -32,12 +32,12 @@ class BlogPage extends TPage public function gotoDefaultPage()
{
- $this->Response->redirect($this->Service->constructUrl($this->Service->DefaultPage));
+ $this->gotoPage($this->Service->DefaultPage);
}
public function gotoPage($pagePath,$getParameters=null)
{
- $this->Response->redirect($this->Service->constructUrl($pagePath,$getParameters));
+ $this->Response->redirect($this->Service->constructUrl($pagePath,$getParameters,false));
}
public function reportError($errorCode)
|