1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Файл ajax.php

См. исходные тексты.

Переменные

const NOT_CHECK_FILE_PERMISSIONS true
const PUBLIC_AJAX_MODE true
const NO_KEEP_STATISTIC 'Y'
const STOP_STATISTICS true
const BX_SECURITY_SHOW_MESSAGE true
 $siteId = ''
if(isset( $_REQUEST[ 'SITE_ID']) &&is_string( $_REQUEST[ 'SITE_ID'])) if($siteId==='' &&isset($_SERVER $siteId ['HTTP_X_BITRIX_SITE_ID']) &&is_string($_SERVER['HTTP_X_BITRIX_SITE_ID'])) = substr(preg_replace('/[^a-z0-9_]/i', '', $siteId), 0, 2)
if(!empty( $siteId) &&is_string( $siteId)) if(isset($_REQUEST['admin_section']) && $_REQUEST['admin_section']==='Y') $fastDownloadAction = ['disk.api.file.showImage', 'disk.api.file.download', 'disk.api.file.showPreview']
 if (isset( $_GET[ 'action']) &&in_array( $_GET[ 'action'], $fastDownloadAction, true))

Переменные

◆ $fastDownloadAction

if(!empty($siteId) &&is_string($siteId)) if (isset( $_REQUEST[ 'admin_section']) &&$_REQUEST[ 'admin_section']==='Y') $fastDownloadAction = ['disk.api.file.showImage', 'disk.api.file.download', 'disk.api.file.showPreview']

См. определение в файле ajax.php строка 27

◆ $siteId [1/2]

$siteId = ''

См. определение в файле ajax.php строка 8

◆ $siteId [2/2]

if(isset($_REQUEST['SITE_ID']) &&is_string($_REQUEST['SITE_ID'])) if ( $siteId==='' &&isset( $_SERVER $siteId[ 'HTTP_X_BITRIX_SITE_ID']) &&is_string( $_SERVER[ 'HTTP_X_BITRIX_SITE_ID'])) = substr(preg_replace('/[^a-z0-9_]/i', '', $siteId), 0, 2)

См. определение в файле ajax.php строка 17

◆ BX_SECURITY_SHOW_MESSAGE

const BX_SECURITY_SHOW_MESSAGE true

См. определение в файле ajax.php строка 6

◆ if

if(isset($_GET['action']) &&in_array($_GET['action'], $fastDownloadAction, true)) ( isset( $_GET[ 'action']) &&in_array( $_GET[ 'action'], $fastDownloadAction, true) )

См. определение в файле ajax.php строка 28

◆ NO_KEEP_STATISTIC

const NO_KEEP_STATISTIC 'Y'

См. определение в файле ajax.php строка 4

◆ NOT_CHECK_FILE_PERMISSIONS

const NOT_CHECK_FILE_PERMISSIONS true

См. определение в файле ajax.php строка 2

◆ PUBLIC_AJAX_MODE

const PUBLIC_AJAX_MODE true

См. определение в файле ajax.php строка 3

◆ STOP_STATISTICS

const STOP_STATISTICS true

См. определение в файле ajax.php строка 5