uawdijnntqw1x1x1
IP : 216.73.216.11
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) 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
/
.
/
files
/
need-2-delete
/
mini-borishof.ru1
/
bitrix
/
modules
/
seo
/
.
/
lib
/
engine
/
yandexexception.php
/
/
<?php namespace Bitrix\Seo\Engine; use Bitrix\Main\Web; class YandexException extends \Exception { protected $code; protected $message; protected $result; protected $status; public function __construct($queryResult, \Exception $previous = NULL) { // exception use two classes - new and old. Define them if ($queryResult) { if ($queryResult instanceof \CHTTP) { $this->result = $queryResult->result; $this->status = $queryResult->status; } elseif ($queryResult instanceof Web\HttpClient) { $this->result = $queryResult->getResult(); $this->status = $queryResult->getStatus(); } } if (!$queryResult) { parent::__construct('no result', 0, $previous); } elseif ($this->parseError()) { parent::__construct($this->code . ': ' . $this->message, $this->status, $previous); } else { parent::__construct($this->result, $this->status, $previous); } } public function getStatus() { return $this->status; } protected function parseError() { $matches = array(); if (preg_match("/<error code=\"([^\"]+)\"><message>([^<]+)<\/message><\/error>/", $this->result, $matches)) { $this->code = $matches[1]; $this->message = $matches[2]; return true; } return false; } }
/var/./files/need-2-delete/mini-borishof.ru1/bitrix/modules/seo/./lib/engine/yandexexception.php