mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement status code 11 route
This commit is contained in:
parent
176f14e36e
commit
dca454cf50
2 changed files with 17 additions and 3 deletions
|
|
@ -190,6 +190,7 @@ class Content
|
|||
switch ($response->getCode())
|
||||
{
|
||||
case 10: // response expected
|
||||
case 11: // sensitive input
|
||||
|
||||
$this->page->title->setValue(
|
||||
$address->getHost(),
|
||||
|
|
@ -202,7 +203,8 @@ class Content
|
|||
);
|
||||
|
||||
$this->page->response->show(
|
||||
$response->getMeta() // pass to placeholder
|
||||
$response->getMeta(), // placeholder
|
||||
boolval(10 === $response->getCode()) // input visibility
|
||||
);
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue