uawdijnntqw1x1x1
IP : 216.73.217.167
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
/
www
/
tiskom
/
data
/
www
/
tiskom.xhost.intravision.ru
/
.
/
bitrix
/
modules
/
seo
/
.
/
.
/
lib
/
engine.php
/
/
<? /** * Bitrix Framework * @package bitrix * @subpackage seo * @copyright 2001-2014 Bitrix */ namespace Bitrix\Seo; use Bitrix\Main\SystemException; use Bitrix\Seo\SearchEngineTable; class Engine { const HTTP_STATUS_OK = 200; const HTTP_STATUS_CREATED = 201; const HTTP_STATUS_NO_CONTENT = 204; const HTTP_STATUS_AUTHORIZATION = 401; protected $engineId = 'unknown engine'; protected $engine = null; protected $engineSettings = array(); protected $authInterface = null; public function __construct() { if(!$this->engine) { $this->engine = static::getEngine($this->engineId); } if(!is_array($this->engine)) { throw new SystemException("Unknown search engine"); } else { if($this->engine['SETTINGS'] <> '') { $this->engineSettings = unserialize($this->engine['SETTINGS'], ['allowed_classes' => false]); } } } public function getId() { return $this->engine['ID']; } public function getCode() { return $this->engine['CODE']; } public function getSettings() { return $this->engineSettings; } public function getClientId() { return $this->engine['CLIENT_ID']; } public function getClientSecret() { return $this->engine['CLIENT_SECRET']; } public function getAuthSettings() { return ($this->engineSettings['AUTH'] ?? false); } public function clearAuthSettings() { unset($this->engineSettings['AUTH']); $this->saveSettings(); } protected function saveSettings() { SearchEngineTable::update($this->engine['ID'], array( 'SETTINGS' => serialize($this->engineSettings) )); } protected static function getEngine($engineId) { $dbEngine = SearchEngineTable::getByCode($engineId); return $dbEngine->fetch(); } }
/var/www/tiskom/data/www/tiskom.xhost.intravision.ru/./bitrix/modules/seo/././lib/engine.php