From f93924eed461d49aa6e89d338e3567c709619a0a Mon Sep 17 00:00:00 2001 From: Dmitry Mamontov Date: Mon, 16 Feb 2015 10:36:39 +0300 Subject: [PATCH] Update ICrmOrderActions.php --- intaro.intarocrm/classes/general/ICrmOrderActions.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index 01d6e661..7cf5a177 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -1094,9 +1094,7 @@ class ICrmOrderActions } if(COption::GetOptionString('main', 'agents_use_crontab', 'N') != 'N') { - $docRoot = count($defaultSite) > 0 ? $defaultSite['ABS_DOC_ROOT'] : $_SERVER['DOCUMENT_ROOT']; define('NO_AGENT_CHECK', true); - require($docRoot . '/bitrix/modules/main/include/prolog_before.php'); } self::notForkedOrderAgent();