/home/v/vostok6715/cn/public_html/bitrix/modules/main/include.php
if(!defined("BX_DIR_PERMISSIONS"))
define("BX_DIR_PERMISSIONS", 0755);
//global var, is used somewhere
$GLOBALS["sDocPath"] = $GLOBALS["APPLICATION"]->GetCurPage();
if((!(defined("STATISTIC_ONLY") && STATISTIC_ONLY && substr($GLOBALS["APPLICATION"]->GetCurPage(), 0, strlen(BX_ROOT."/admin/"))!=BX_ROOT."/admin/")) && COption::GetOptionString("main", "include_charset", "Y")=="Y" && strlen(LANG_CHARSET)>0)
header("Content-Type: text/html; charset=".LANG_CHARSET);
if(COption::GetOptionString("main", "set_p3p_header", "Y")=="Y")
/home/v/vostok6715/cn/public_html/bitrix/modules/main/include.php
if(!defined("BX_DIR_PERMISSIONS"))
define("BX_DIR_PERMISSIONS", 0755);
//global var, is used somewhere
$GLOBALS["sDocPath"] = $GLOBALS["APPLICATION"]->GetCurPage();
if((!(defined("STATISTIC_ONLY") && STATISTIC_ONLY && substr($GLOBALS["APPLICATION"]->GetCurPage(), 0, strlen(BX_ROOT."/admin/"))!=BX_ROOT."/admin/")) && COption::GetOptionString("main", "include_charset", "Y")=="Y" && strlen(LANG_CHARSET)>0)
header("Content-Type: text/html; charset=".LANG_CHARSET);
if(COption::GetOptionString("main", "set_p3p_header", "Y")=="Y")
/home/v/vostok6715/cn/public_html/bitrix/modules/main/include/prolog_before.php
if(isset($_COOKIE["BX_STATE"])) unset($_COOKIE["BX_STATE"]);
if(isset($_FILES["BX_STATE"])) unset($_FILES["BX_STATE"]);
if(!isset($USER)) {global $USER;}
if(!isset($APPLICATION)) {global $APPLICATION;}
if(!isset($DB)) {global $DB;}
require_once(dirname(__FILE__)."/../include.php");
CMain::PrologActions();
/home/v/vostok6715/cn/public_html/bitrix/modules/main/include/prolog.php
if (file_exists($_SERVER["DOCUMENT_ROOT"].BX_PERSONAL_ROOT."/html_pages/.enabled"))
{
require_once(dirname(__FILE__)."/../lib/composite/responder.php");
Bitrix\Main\Composite\Responder::respond();
}
require_once(dirname(__FILE__)."/prolog_before.php");
require($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/include/prolog_after.php");
/home/v/vostok6715/cn/public_html/bitrix/header.php
<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog.php");?>
/home/v/vostok6715/cn/public_html/hotels/index.php
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("酒店");
?>
<?$APPLICATION->IncludeComponent(
"bitrix:news",
"post",
array(
"ADD_ELEMENT_CHAIN" => "N",
/home/v/vostok6715/cn/public_html/bitrix/modules/main/include/urlrewrite.php
$ext = strtolower(GetFileExtension($url));
if ($ext != "php")
continue;
CHTTP::SetStatus("200 OK");
$_SERVER["REAL_FILE_PATH"] = $url;
include_once($io->GetPhysicalName($_SERVER['DOCUMENT_ROOT'].$url));
die();
}
/home/v/vostok6715/cn/public_html/bitrix/urlrewrite.php
<?
include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php');
if(file_exists($_SERVER['DOCUMENT_ROOT'].'/404.php'))
include_once($_SERVER['DOCUMENT_ROOT'].'/404.php');
?>