mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Added special const RAINLOOP_INCLUDE_AS_API
This commit is contained in:
parent
91e3bd72d6
commit
0422aa5026
3 changed files with 2 additions and 6 deletions
|
|
@ -38,7 +38,7 @@ if (!\defined('RAINLOOP_APP_ROOT_PATH'))
|
|||
|
||||
if (!$oException)
|
||||
{
|
||||
if (defined('APP_CALLER_AS_API') && APP_CALLER_AS_API)
|
||||
if (defined('RAINLOOP_INCLUDE_AS_API') && RAINLOOP_INCLUDE_AS_API)
|
||||
{
|
||||
\RainLoop\Api::Handle();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue