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

@ -1,7 +1,6 @@
<?php
define('APP_INDEX_ROOT_FILE', str_replace('\\', '/', __FILE__));
define('APP_INDEX_ROOT_PATH', rtrim(dirname(APP_INDEX_ROOT_FILE), '/').'/');
define('APP_INDEX_ROOT_PATH', str_replace('\\', '/', rtrim(dirname(__FILE__), '\\/').'/'));
$sCustomDataPath = '';
if (file_exists(APP_INDEX_ROOT_PATH.'include.php'))