1
0
mirror of synced 2024-11-25 14:56:09 +03:00
bitrix-module/intaro.intarocrm/classes/general/agent.php
2014-11-27 18:37:59 +03:00

8 lines
359 B
PHP
Executable File

<?php
define('NO_AGENT_CHECK', true);
require_once($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/include/prolog_before.php');
if ($_SERVER['SERVER_ADDR'] != $_SERVER['REMOTE_ADDR']) die('You are not allowed to access this file.');
if (!CModule::IncludeModule('intaro.intarocrm')) die('retailCRM not installed.');
ICrmOrderActions::notForkedOrderAgent();