1
0
mirror of synced 2024-12-01 17:56:07 +03:00

Update ICrmOrderActions.php

This commit is contained in:
Dmitry Mamontov 2015-02-16 10:36:39 +03:00
parent b8299b7718
commit f93924eed4

View File

@ -1094,9 +1094,7 @@ class ICrmOrderActions
} }
if(COption::GetOptionString('main', 'agents_use_crontab', 'N') != 'N') { 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); define('NO_AGENT_CHECK', true);
require($docRoot . '/bitrix/modules/main/include/prolog_before.php');
} }
self::notForkedOrderAgent(); self::notForkedOrderAgent();