1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
default_option.php
См. документацию.
1<?php
2
3$region = \Bitrix\Main\Application::getInstance()->getLicense()->getRegion();
4if (in_array($region, ['ru', 'by', 'kz', 'uz']))
5{
6 $pushServiceUrl = 'https://cloud-messaging.bitrix24.tech/send/';
7}
8else
9{
10 $pushServiceUrl = 'https://cloud-messaging.bitrix24.com/send/';
11}
12
14 'path_to_listener' => "http://#DOMAIN#/bitrix/sub/",
15 'path_to_listener_secure' => "https://#DOMAIN#/bitrix/sub/",
16 'path_to_modern_listener' => "http://#DOMAIN#/bitrix/sub/",
17 'path_to_modern_listener_secure' => "https://#DOMAIN#/bitrix/sub/",
18 'path_to_mobile_listener' => "http://#DOMAIN#:8893/bitrix/sub/",
19 'path_to_mobile_listener_secure' => "https://#DOMAIN#:8894/bitrix/sub/",
20 'path_to_websocket' => "ws://#DOMAIN#/bitrix/subws/",
21 'path_to_websocket_secure' => "wss://#DOMAIN#/bitrix/subws/",
22 'path_to_publish' => 'http://127.0.0.1:8895/bitrix/pub/',
23 'path_to_publish_web' => 'http://#DOMAIN#/bitrix/pubweb/',
24 'path_to_publish_web_secure' => 'https://#DOMAIN#/bitrix/pubweb/',
25 'path_to_json_rpc' => 'https://#DOMAIN#/bitrix/api/',
26 'nginx_version' => 2,
27 'nginx_command_per_hit' => 100,
28 'nginx' => 'N',
29 'nginx_headers' => 'Y',
30 'push' => 'N',
31 'push_message_per_hit' => 100,
32 'push_service_url' => $pushServiceUrl,
33 'websocket' => 'Y',
34 'signature_key' => '',
35 'signature_algo' => 'sha1',
36 'guest' => 'N',
37 'enable_protobuf' => 'Y',
38 'limit_max_payload' => 1048576,
39 'limit_max_messages_per_request' => 100,
40 'limit_max_channels_per_request' => 100,
41 'config_timestamp' => 0,
42 'server_mode' => 'personal',
43 'config_ttl' => 0, // in seconds
44);
45
46if (file_exists($_SERVER["DOCUMENT_ROOT"]."/bitrix/php_interface/pull.php"))
47{
48 include($_SERVER["DOCUMENT_ROOT"]."/bitrix/php_interface/pull.php");
49 if (isset($pull_default_option))
50 {
52 }
53}
55unset($temporary);
56
static getInstance()
Определения application.php:98
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$region
Определения .description.php:13
$_SERVER["DOCUMENT_ROOT"]
Определения cron_frame.php:9
$temporary
Определения default_option.php:13
if(file_exists($_SERVER["DOCUMENT_ROOT"]."/bitrix/php_interface/pull.php")) $pull_default_option
Определения default_option.php:54