uawdijnntqw1x1x1
IP : 18.191.156.36
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
/
yar.axolotls.ru
/
1c9cb
/
..
/
bitrix
/
components
/
aspro
/
auth.next
/
class.php
/
/
<? use Bitrix\Main\Config; use Bitrix\Main\Localization; if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die(); class CAsproAuth extends CBitrixComponent{ protected $dbResult = array(); protected $page; protected $errorsFatal = array(); public function __construct( $component = null ){ parent::__construct( $component ); Localization\Loc::loadMessages(__FILE__); } protected function getPage(){ $arDefaultUrlTemplates404 = array( "auth" => "", "registration" => "registration/", "forgot_password" => "forgot-password/", "change_password" => "change-password/", "confirm_password" => "confirm-password/", "confirm_registration" => "confirm-registration/", ); $arVariables = array(); if( $this->arParams["SEF_MODE"] == "Y" ){ $arUrlTemplates = CComponentEngine::MakeComponentUrlTemplates( $arDefaultUrlTemplates404, $this->arParams["SEF_URL_TEMPLATES"] ); $componentPage = CComponentEngine::ParseComponentPath( $this->arParams["SEF_FOLDER"], $arUrlTemplates, $arVariables ); if($_REQUEST) { if( $_REQUEST["registration"] == "yes" ) $componentPage = "registration"; elseif( $_REQUEST["forgot_password"] == "yes" ) $componentPage = "forgot_password"; elseif( $_REQUEST["change_password"] == "yes" ) $componentPage = "change_password"; elseif( $_REQUEST["confirm_password"] == "yes" ) $componentPage = "confirm_password"; elseif( $_REQUEST["confirm_registration"] == "yes" ) $componentPage = "confirm_registration"; } if( !$componentPage ){ $componentPage = 'auth'; } $this->arResult = array_merge( array( "SEF_FOLDER" => $this->arParams["SEF_FOLDER"], "URL_TEMPLATES" => $arUrlTemplates, ), $this->arResult ); }else{ if( $_REQUEST["registration"] == "yes" ) $componentPage = "registration"; elseif( $_REQUEST["forgot_password"] == "yes" ) $componentPage = "forgot_password"; elseif( $_REQUEST["change_password"] == "yes" ) $componentPage = "change_password"; elseif( $_REQUEST["confirm_password"] == "yes" ) $componentPage = "confirm_password"; elseif( $_REQUEST["confirm_registration"] == "yes" ) $componentPage = "confirm_registration"; else $componentPage = "auth"; } $this->page = $componentPage; } public function executeComponent(){ try{ $this->getPage(); }catch( Exception $e ){ $this->errorsFatal[htmlspecialcharsEx($e->getCode())] = htmlspecialcharsEx( $e->getMessage() ); } if(isset($_REQUEST['backurl']) && $_REQUEST['backurl']) // fix ajax url { if($_REQUEST['backurl'] != $_SERVER['REQUEST_URI']) { global $APPLICATION; $_SERVER['REQUEST_URI'] = $_REQUEST['backurl']; $APPLICATION->reinitPath(); } } global $arTheme; if($arTheme['CABINET']['VALUE'] != 'N') $this->includeComponentTemplate( $this->page ); else LocalRedirect(SITE_DIR); // "ERROR"; } } ?>
/var/www/axolotl/data/www/yar.axolotls.ru/1c9cb/../bitrix/components/aspro/auth.next/class.php