1
0
mirror of synced 2024-11-23 13:56:08 +03:00
bitrix-module/intaro.intarocrm/classes/general/agent.php

8 lines
359 B
PHP
Raw Normal View History

2014-11-24 20:15:54 +03:00
<?php
2014-11-27 18:37:59 +03:00
define('NO_AGENT_CHECK', true);
2014-11-24 20:15:54 +03:00
require_once($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/include/prolog_before.php');
2014-11-27 15:59:01 +03:00
if ($_SERVER['SERVER_ADDR'] != $_SERVER['REMOTE_ADDR']) die('You are not allowed to access this file.');
2014-11-24 20:15:54 +03:00
if (!CModule::IncludeModule('intaro.intarocrm')) die('retailCRM not installed.');
2014-11-25 15:57:33 +03:00
ICrmOrderActions::notForkedOrderAgent();