uawdijnntqw1x1x1
IP : 13.58.48.103
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
/
b24.axolotl.ru
/
.
/
public_html
/
bitrix
/
modules
/
mobile
/
lib
/
deeplink.php
/
/
<?php namespace Bitrix\Mobile; use Bitrix\Main\Context; use Bitrix\Main\Loader; class Deeplink { private const domain = "https://bitrix24.page.link/"; private const androidPackage = "com.bitrix24.android"; private const iosBundleID = "com.bitrixsoft.cpmobile"; private const iosID = "561683423"; public static function getAuthLink($intent, int $userId = null) { $hash = Auth::getOneTimeAuthHash($userId); $request = Context::getCurrent()->getRequest(); $server = Context::getCurrent()->getServer(); $host = defined('BX24_HOST_NAME') ? BX24_HOST_NAME : $server->getHttpHost(); $host = ($request->isHttps() ? 'https' : 'http').'://'.preg_replace("/:(443|80)$/", "", $host); $link = $host."/?intent=".urlencode("${intent};${hash}"); return self::domain."?link=${link}&apn=".self::androidPackage."&isi=".self::iosID. "&ibi=".self::iosBundleID ; } public static function onOneTimeHashRemoved($userId, $hash) { if(Loader::includeModule('pull')) { \CPullStack::AddByUser($userId, array( 'module_id' => 'mobile', 'command' => 'onDeeplinkShouldRefresh', 'params' => ['previous_hash' => $hash], ) ); } } }
/var/www/axolotl/data/www/b24.axolotl.ru/./public_html/bitrix/modules/mobile/lib/deeplink.php