diff options
author | ffflabs <amenadiel@gmail.com> | 2020-09-11 10:41:16 +0300 |
---|---|---|
committer | ffflabs <amenadiel@gmail.com> | 2020-10-19 20:03:40 +0300 |
commit | 7ab62d1cdd5e5e0122e2d91c536bf25eb1d32ad6 (patch) | |
tree | 1c204d443a2996978a3ccece6aec03c09826efd7 /src/controllers/IntroController.php | |
parent | db6e69bb8f672f0f3d122e8f4039f72c23e2c7c7 (diff) |
wrapping wrongly types AdoDB
wrapping wrongly types AdoDB
Diffstat (limited to 'src/controllers/IntroController.php')
-rw-r--r-- | src/controllers/IntroController.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/controllers/IntroController.php b/src/controllers/IntroController.php index c10231f7..3f30a3ee 100644 --- a/src/controllers/IntroController.php +++ b/src/controllers/IntroController.php @@ -18,13 +18,13 @@ class IntroController extends BaseController */ public function render() { - if (null === $this->container->requestobj->getAttribute('route')) { + if (null === \requestInstance()->getAttribute('route')) { echo $this->doDefault(); } else { - $body = $this->container->responseobj->getBody(); + $body = \responseInstance()->getBody(); $body->write($this->doDefault()); - return $this->container->responseobj; + return \responseInstance(); } } @@ -88,7 +88,7 @@ class IntroController extends BaseController //$intro_html .= '<li><a href="' . $this->lang['strviewfaq_url'] . '">' . $this->lang['strviewfaq'] . '</a></li>'; $intro_html .= '</ul>'; - if ($this->container->requestobj->getQueryParam('language')) { + if (\requestInstance()->getQueryParam('language')) { $this->misc->setReloadBrowser(true); } |