uawdijnntqw1x1x1
IP : 3.133.112.22
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
/
perm.axolotls.ru
/
bitrix
/
components
/
bitrix
/
mobileapp.push
/
ajax.php
/
/
<? define("NO_KEEP_STATISTIC", true); define('NO_AGENT_CHECK', true); define("NO_AGENT_STATISTIC", true); define("NOT_CHECK_PERMISSIONS", true); define('DisableEventsCheck', true); require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php"); CComponentUtil::__IncludeLang(dirname($_SERVER["SCRIPT_NAME"]), "/ajax.php"); if (!CModule::IncludeModule('mobileapp')) die(GetMessage('SMODE_MOBILEAPP_NOT_INSTALLED')); $arResult = array(); if($USER->IsAuthorized() && check_bitrix_sessid()) { $action = isset($_REQUEST['action']) ? trim($_REQUEST['action']): ''; switch ($action) { case "save_options": $path = isset($_REQUEST['path']) ? trim($_REQUEST['path']): ''; $arOptions = isset($_REQUEST['options']) ? $_REQUEST['options']: array(); foreach (GetModuleEvents("mobileapp", "OnBeforeAdminMobilePushOptsSave", true) as $arHandler) ExecuteModuleEventEx($arHandler, array( $USER->GetID(), $path, &$arOptions )); if(!empty($arOptions)) if(!CAdminMobilePush::saveOptions($path, $arOptions)) $arResult["ERROR"] = GetMessage("MOBILE_APP_PUSH_SAVE_OPTS_ERROR"); break; } } else { $arResult["ERROR"] = GetMessage("MOBILE_APP_PUSH_ACCESS_DENIED"); } if(isset($arResult["ERROR"])) $arResult["RESULT"] = "ERROR"; else $arResult["RESULT"] = "OK"; $arResult = $APPLICATION->ConvertCharsetArray($arResult, SITE_CHARSET, 'utf-8'); die(json_encode($arResult)); ?>
/var/www/axolotl/data/www/perm.axolotls.ru/bitrix/components/bitrix/mobileapp.push/ajax.php