uawdijnntqw1x1x1
IP : 3.128.205.101
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
/
52131
/
..
/
bitrix
/
modules
/
main
/
lib
/
site.php
/
/
<?php /** * Bitrix Framework * @package bitrix * @subpackage main * @copyright 2001-2012 Bitrix */ namespace Bitrix\Main; use Bitrix\Main\IO; class SiteTable extends ORM\Data\DataManager { private static $documentRootCache = array(); public static function getDocumentRoot($siteId = null) { if ($siteId === null) { $context = Application::getInstance()->getContext(); $siteId = $context->getSite(); } if (!isset(self::$documentRootCache[$siteId])) { $ar = SiteTable::getRow(array("filter" => array("LID" => $siteId))); if ($ar && ($docRoot = $ar["DOC_ROOT"]) && (strlen($docRoot) > 0)) { if (!IO\Path::isAbsolute($docRoot)) $docRoot = IO\Path::combine(Application::getDocumentRoot(), $docRoot); self::$documentRootCache[$siteId] = $docRoot; } else { self::$documentRootCache[$siteId] = Application::getDocumentRoot(); } } return self::$documentRootCache[$siteId]; } public static function getTableName() { return 'b_lang'; } public static function getMap() { return array( 'LID' => array( 'data_type' => 'string', 'primary' => true ), 'SORT' => array( 'data_type' => 'integer', ), 'DEF' => array( 'data_type' => 'boolean', 'values' => array('N', 'Y'), ), 'ACTIVE' => array( 'data_type' => 'boolean', 'values' => array('N', 'Y'), ), 'NAME' => array( 'data_type' => 'string' ), 'DIR' => array( 'data_type' => 'string' ), 'LANGUAGE_ID' => array( 'data_type' => 'string', ), 'DOC_ROOT' => array( 'data_type' => 'string', ), 'DOMAIN_LIMITED' => array( 'data_type' => 'boolean', 'values' => array('N', 'Y'), ), 'SERVER_NAME' => array( 'data_type' => 'string' ), 'SITE_NAME' => array( 'data_type' => 'string' ), 'EMAIL' => array( 'data_type' => 'string' ), 'CULTURE_ID' => array( 'data_type' => 'integer', ), 'CULTURE' => array( 'data_type' => 'Bitrix\Main\Localization\Culture', 'reference' => array('=this.CULTURE_ID' => 'ref.ID'), ), ); } }
/var/www/axolotl/data/www/yar.axolotls.ru/52131/../bitrix/modules/main/lib/site.php