mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Close session before webcron processing
This commit is contained in:
parent
c7d7cdda8b
commit
e8c03318e4
1 changed files with 4 additions and 0 deletions
|
|
@ -41,6 +41,10 @@ if (PHP_SAPI !== 'cli')
|
|||
{
|
||||
ignore_user_abort(true);
|
||||
set_time_limit(max(60, $timeout));
|
||||
if (Rhymix\Framework\Session::checkStart())
|
||||
{
|
||||
Rhymix\Framework\Session::close();
|
||||
}
|
||||
}
|
||||
|
||||
// Create multiple processes if configured.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue