uawdijnntqw1x1x1
IP : 3.23.92.150
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
axolotl.ru
/
www
/
include
/
..
/
bitrix
/
modules
/
pull
/
lib
/
sharedserver
/
config.php
/
/
<?php namespace Bitrix\Pull\SharedServer; use Bitrix\Main\Config\Option; class Config { const DEFAULT_SERVER = "rtc-cloud.bitrix.info"; const HOSTNAME_URL = "/hostname"; const SERVER_LIST_URL = "/servers"; const REGISTER_URL = "/register-client/"; const PUB_URL = "/pub/"; const SUB_URL = "/subws/"; const REST_URL = "/rest/"; const SERVER_ADDRESS = 'shared_server_address'; const SHARED_SERVER_KEY = 'shared_server_key'; const IS_REGISTERED_ON_SHARED_SERVER = 'registered_on_shared_server'; const CLOUD_SERVER_VERSION = 4; public static function getServerVersion() { return static::CLOUD_SERVER_VERSION; } public static function getServerAddress() { return Option::get("pull", static::SERVER_ADDRESS); } public static function setServerAddress($serverAddress) { Option::set("pull", static::SERVER_ADDRESS, $serverAddress); } public static function getRegisterUrl() { return "https://" . static::getServerAddress() . (defined("PULL_SHARED_REGISTER_URL") ? PULL_SHARED_REGISTER_URL : static::REGISTER_URL); } /** * Returns url for publishing events. * * @return string */ public static function getPublishUrl() { return "https://" . static::getServerAddress() . static::PUB_URL; } /** * Returns url for receiving events with long polling transport. * * @return string */ public static function getLongPollingUrl() { return "https://" . static::getServerAddress() . static::SUB_URL; } /** * Returns url for receiving events with websocket transport. * * @return string */ public static function getWebSocketUrl() { $result = "wss://" . static::getServerAddress() . static::SUB_URL; return $result; } /** * */ public static function getWebPublishUrl() { return "https://" . static::getServerAddress() . static::REST_URL; } public static function setSignatureKey($signatureKey) { Option::set("pull", static::SHARED_SERVER_KEY, $signatureKey); } public static function getSignatureKey() { return Option::get("pull", static::SHARED_SERVER_KEY); } public static function setRegistered($isRegistered) { Option::set("pull", static::IS_REGISTERED_ON_SHARED_SERVER, ($isRegistered ? "Y" : "N")); } public static function isRegistered() { return (Option::get("pull", static::IS_REGISTERED_ON_SHARED_SERVER) === "Y"); } }
/var/www/axolotl/data/www/axolotl.ru/www/include/../bitrix/modules/pull/lib/sharedserver/config.php