Server IP : 85.193.89.191 / Your IP : 3.147.89.255 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bitrix/www/desktop_app/ |
Upload File : |
<? define("BX_SKIP_USER_LIMIT_CHECK", true); define("BX_PULL_SKIP_INIT", true); require($_SERVER["DOCUMENT_ROOT"]."/desktop_app/headers.php"); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); \Bitrix\Main\Page\Asset::getInstance()->setJsToBody(false); if (!\Bitrix\Main\Application::getInstance()->isUtfMode()) { $GLOBALS["APPLICATION"]->RestartBuffer(); CHTTP::SetStatus("404 Not Found"); return; } if (!CModule::IncludeModule('im')) return; if (intval($USER->GetID()) <= 0 || \Bitrix\Im\User::getInstance()->isConnector()) { ?> <script type="text/javascript"> if (typeof(BXDesktopSystem) != 'undefined') BXDesktopSystem.Login({}); else location.href = '/'; </script><? return true; } IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/im/install/public/desktop_app/index.php"); $GLOBALS["APPLICATION"]->SetPageProperty("BodyClass", "im-desktop"); \Bitrix\Main\UI\Extension::load([ 'im.v2.const', 'im_desktop', 'ui.buttons', 'ui.buttons.icons' ]); $diskEnabled = false; if(IsModuleInstalled('disk')) { $diskEnabled = \Bitrix\Main\Config\Option::get('disk', 'successfully_converted', false) && CModule::includeModule('disk'); if($diskEnabled && \Bitrix\Disk\Configuration::REVISION_API >= 5) { $APPLICATION->IncludeComponent('bitrix:disk.bitrix24disk', '', array('AJAX_PATH' => '/desktop_app/disk.ajax.new.php'), false, Array("HIDE_ICONS" => "Y")); } else { $diskEnabled = false; } } if(!$diskEnabled && IsModuleInstalled('webdav')) { $APPLICATION->IncludeComponent('bitrix:webdav.disk', '', array('AJAX_PATH' => '/desktop_app/disk.ajax.php'), false, Array("HIDE_ICONS" => "Y")); } if (CModule::IncludeModule('timeman')) { CJSCore::init('im_timecontrol'); } ?> #PLACEHOLDER# <? require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php"); ?>