mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
parent
dde42c6190
commit
e211899c7b
12 changed files with 191 additions and 18 deletions
|
|
@ -38,7 +38,14 @@ if (!\defined('RAINLOOP_APP_ROOT_PATH'))
|
|||
|
||||
if (!$oException)
|
||||
{
|
||||
\RainLoop\Service::NewInstance()->Handle();
|
||||
if (defined('APP_CALLER_AS_API') && APP_CALLER_AS_API)
|
||||
{
|
||||
\RainLoop\Api::Handle();
|
||||
}
|
||||
else
|
||||
{
|
||||
\RainLoop\Service::NewInstance()->Handle();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue