* code for task #45297.

This commit is contained in:
王怡栋
2021-12-01 13:59:25 +08:00
parent 4b37f6b83b
commit 9286434da5
6 changed files with 19 additions and 13 deletions
+14
View File
@@ -654,4 +654,18 @@ class baseEntry
$this->send(403, array('error' => 'Access not allowed'));
}
}
/**
* Reset open app.
*
* @param string $tab
* @access public
* @return void
*/
public function resetOpenApp($tab)
{
$_COOKIE['tab'] = $tab;
$this->app->tab = $tab;
$this->app->session->tab = $tab;
}
}