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
/
.
/
files
/
need-2-delete
/
mini-borishof.ru1
/
bitrix
/
modules
/
scale
/
install
/
index.php
/
/
<? use Bitrix\Main\Localization\Loc; Loc::loadMessages(__FILE__); if (class_exists("scale")) return; class scale extends CModule { var $MODULE_ID = "scale"; var $MODULE_VERSION; var $MODULE_VERSION_DATE; var $MODULE_NAME; var $MODULE_DESCRIPTION; var $MODULE_CSS; var $errors = false; function scale() { $arModuleVersion = array(); $path = str_replace("\\", "/", __FILE__); $path = substr($path, 0, strlen($path) - strlen("/index.php")); include($path."/version.php"); $this->MODULE_VERSION = $arModuleVersion["VERSION"]; $this->MODULE_VERSION_DATE = $arModuleVersion["VERSION_DATE"]; $this->MODULE_NAME = Loc::getMessage("SCALE_MODULE_NAME"); $this->MODULE_DESCRIPTION = Loc::getMessage("SCALE_MODULE_DESCRIPTION"); } function InstallDB() { \Bitrix\Main\ModuleManager::registerModule("scale"); RegisterModuleDependences("main", "OnEventLogGetAuditTypes", "scale", "\\Bitrix\\Scale\\Logger", 'onEventLogGetAuditTypes'); return true; } function UnInstallDB() { UnRegisterModuleDependences("main", "OnEventLogGetAuditTypes", "scale", "\\Bitrix\\Scale\\Logger", 'onEventLogGetAuditTypes'); $result = \Bitrix\Main\ModuleManager::unRegisterModule("scale"); return true; } function InstallEvents() { return true; } function UnInstallEvents() { return true; } function InstallFiles($arParams = array()) { if($_ENV["COMPUTERNAME"]!='BX') { CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/scale/install/admin", $_SERVER["DOCUMENT_ROOT"]."/bitrix/admin", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/scale/install/js", $_SERVER["DOCUMENT_ROOT"]."/bitrix/js", true, true); } return true; } function UnInstallFiles() { if($_ENV["COMPUTERNAME"]!='BX') { DeleteDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/scale/install/admin/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/admin"); DeleteDirFilesEx("/bitrix/js/scale/"); } return true; } function DoInstall() { global $USER, $APPLICATION, $step; if ($USER->IsAdmin()) { $step = IntVal($step); if ($step < 2) { $APPLICATION->IncludeAdminFile(Loc::getMessage("SCALE_INSTALL_TITLE"), $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/scale/install/step1.php"); } elseif ($step == 2) { if (!IsModuleInstalled("scale")) { $this->InstallDB(); $this->InstallEvents(); $this->InstallFiles(); $GLOBALS["errors"] = $this->errors; $APPLICATION->IncludeAdminFile(Loc::getMessage("SCALE_INSTALL_TITLE"), $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/scale/install/step2.php"); } } } } function DoUninstall() { global $USER, $APPLICATION, $step; if ($USER->IsAdmin()) { $step = IntVal($step); if ($step < 2) { $APPLICATION->IncludeAdminFile(Loc::getMessage("SCALE_UNINSTALL_TITLE"), $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/scale/install/unstep1.php"); } elseif ($step == 2) { $this->UnInstallDB(); $this->UnInstallEvents(); $this->UnInstallFiles(); $GLOBALS["errors"] = $this->errors; $APPLICATION->IncludeAdminFile(Loc::getMessage("SCALE_UNINSTALL_TITLE"), $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/scale/install/unstep2.php"); } } } } ?>
/var/./files/need-2-delete/mini-borishof.ru1/bitrix/modules/scale/install/index.php