Added special const RAINLOOP_INCLUDE_AS_API

This commit is contained in:
RainLoop Team 2014-04-18 19:34:24 +04:00
parent 91e3bd72d6
commit 0422aa5026
3 changed files with 2 additions and 6 deletions

View file

@ -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();
}