%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 18.216.24.36 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 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, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/wizards/bitrix/sale.locations/scripts/ |
Upload File : |
<? define("STOP_STATISTICS", true); define('DLSERVER', 'www.1c-bitrix.ru'); define('DLPORT', 80); define('DLPATH', '/download/files/locations/'); define('DLMETHOD', 'GET'); define('DLZIPFILE', 'zip_ussr.csv'); require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/wizard.php"); $wizard = new CWizard("bitrix:sale.locations"); $wizard->IncludeWizardLang("scripts/loader.php"); $saleModulePermissions = $APPLICATION->GetGroupRight("sale"); if ($saleModulePermissions < "W") { echo GetMessage('WSL_LOADER_ERROR_ACCESS_DENIED'); require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/epilog_after.php"); die(); } require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/sale/general/location_import.php"); $arLoadParams = array( 'STEP' => intval($_REQUEST['STEP']), 'CSVFILE' => $_REQUEST['CSVFILE'], 'LOADZIP' => $_REQUEST['LOADZIP'], 'DLSERVER' => DLSERVER, 'DLPORT' => DLPORT, 'DLPATH' => DLPATH, 'DLMETHOD' => DLMETHOD, 'DLZIPFILE' => DLZIPFILE ); $arLoadResult = saleLocationLoadFile($arLoadParams); if ($arLoadResult['ERROR'] <> '') { echo $arLoadResult['ERROR']; if(isset($arLoadResult['RUN_ERROR']) && $arLoadResult['RUN_ERROR'] == true) echo '<script>RunError()</script>'; } elseif (isset($arLoadResult['COMPLETE']) && $arLoadResult['COMPLETE'] === true) { echo GetMessage('WSL_LOADER_ALL_LOADED'); echo '<script>EnableButton();</script>'; } elseif ($arLoadResult['STEP'] !== false) { if($arLoadResult['MESSAGE'] <> '') echo $arLoadResult['MESSAGE']; echo '<script>Run('.$arLoadResult['STEP'].')</script>'; } require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/epilog_after.php"); ?>