Файловый менеджер - Редактировать - /var/www/axolotl/data/www/axolotls.ru/www/bitrix/tools/oauth/bitrix24.php
Назад
<? /* This is callback page for Bitrix24 OAuth 2.0 authentication. Google redirects only to specific back url set in the OAuth application. The page opens in popup window after user authorized on Bitrix24. */ define("NOT_CHECK_PERMISSIONS", true); if(isset($_REQUEST["state"]) && is_string($_REQUEST["state"])) { $arState = array(); parse_str($_REQUEST["state"], $arState); if(isset($arState['site_id']) && is_string($arState['site_id'])) { $site = substr(preg_replace("/[^a-z0-9_]/i", "", $arState['site_id'].''), 0, 2); define("SITE_ID", $site); } } require_once($_SERVER['DOCUMENT_ROOT']."/bitrix/modules/main/include/prolog_before.php"); if(CModule::IncludeModule("socialservices")) { $oAuthManager = new CSocServAuthManager(); $oAuthManager->Authorize("Bitrix24OAuth"); } require_once($_SERVER['DOCUMENT_ROOT']."/bitrix/modules/main/include/epilog_after.php"); ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.8 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка