mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
add timeout message
This commit is contained in:
parent
a57e83159b
commit
50c41485ac
1 changed files with 10 additions and 0 deletions
|
|
@ -223,6 +223,16 @@ class Page
|
|||
// Stop event loop on request expired
|
||||
if (time() > $expire)
|
||||
{
|
||||
// Update title
|
||||
$this->title->set(
|
||||
_('Timeout')
|
||||
);
|
||||
|
||||
// Update content
|
||||
$this->content->setGemtext(
|
||||
_('Response time reached')
|
||||
);
|
||||
|
||||
// Hide progressbar
|
||||
$this->progressbar->hide();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue