function ThumbnailTools(&$File, &$arRealFile) { $this->Source =& $arRealFile; $this->Dest =& $File; if (function_exists("gd_info")) { $res = gd_info(); $this->GD = strpos($res['GD Version'], "2.") !== false ? 2 : 1; } if ($this->GD == false) { $this->arError[] = array("id" => "gd_lib", "text" => "GD library is not installed."); return false; } elseif (!is_array($this->Source) || empty($this->Source["tmp_name"])) { $this->arError[] = array("id" => "source", "text" => "Source file is not defined."); return false; } elseif (!is_array($this->Dest) || empty($this->Dest["tmp_name"])) { $this->arError[] = array("id" => "dest", "text" => "Desctination file is not defined."); return false; } elseif (!CopyDirFiles($this->Source["tmp_name"], $this->Dest["tmp_name"])) { $this->arError[] = array("id" => "copy", "text" => "File is not copied."); return false; } if (empty($this->Source["pathinfo"])) { $this->Source["pathinfo"] = array("extension" => substr($this->Source["name"], strrpos($arRealFile["name"], ".") + 1)); } $this->SourceObj = PictureTools::ImageCreate($arRealFile["tmp_name"], $arRealFile["pathinfo"]["extension"]); $this->Source["width"] = intVal(@imagesx($this->SourceObj)); $this->Source["height"] = intVal(@imagesy($this->SourceObj)); }
public function InstallFiles() { CopyDirFiles($_SERVER['DOCUMENT_ROOT']."/bitrix/modules/".$this->MODULE_ID."/install/themes/", $_SERVER['DOCUMENT_ROOT']."/bitrix/themes/", true, true ); CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$this->MODULE_ID."/install/js/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/js/", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"].'/bitrix/modules/'.$this->MODULE_ID.'/install/components/', $_SERVER["DOCUMENT_ROOT"] . '/bitrix/components/', true, true); return true; }
function InstallFiles() { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/mobile/public/mobile/", $_SERVER["DOCUMENT_ROOT"] . "/mobile/", True, True); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/mobile/install/templates/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/templates/", True, True); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/mobile/install/components/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components", true, true); $default_site_id = CSite::GetDefSite(); if ($default_site_id) { $arAppTempalate = array("SORT" => 1, "CONDITION" => "CSite::InDir('/mobile/')", "TEMPLATE" => "mobile_app"); $arFields = array("TEMPLATE" => array()); $dbTemplates = CSite::GetTemplateList($default_site_id); $mobileAppFound = false; while ($template = $dbTemplates->Fetch()) { if ($template["TEMPLATE"] == "mobile_app") { $mobileAppFound = true; $template = $arAppTempalate; } $arFields["TEMPLATE"][] = array("TEMPLATE" => $template['TEMPLATE'], "SORT" => $template['SORT'], "CONDITION" => $template['CONDITION']); } if (!$mobileAppFound) { $arFields["TEMPLATE"][] = $arAppTempalate; } $obSite = new CSite(); $arFields["LID"] = $default_site_id; $obSite->Update($default_site_id, $arFields); } CUrlRewriter::ReindexFile("/mobile/webdav/index.php"); CUrlRewriter::ReindexFile("/mobile/disk/index.php"); CUrlRewriter::Add(array("CONDITION" => "#^/mobile/disk/(?<hash>[0-9]+)/download#", "RULE" => "download=1&objectId=\$1", "ID" => "bitrix:mobile.disk.file.detail", "PATH" => "/mobile/disk/index.php")); return true; }
public function DoInstall() { global $APPLICATION, $adminPage, $USER, $adminMenu, $adminChain; if ($GLOBALS['APPLICATION']->GetGroupRight('main') < 'W') { return; } CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/components/" . $this->MODULE_ID, $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components/" . $this->MODULE_ID, true, true); if (is_array($this->NEED_MODULES) && !empty($this->NEED_MODULES)) { foreach ($this->NEED_MODULES as $module) { if (!IsModuleInstalled($module)) { $this->ShowForm('ERROR', GetMessage('DADATA_SUGGESTIONS_NEED_MODULES', array('#MODULE#' => $module))); } } } if (strlen($this->NEED_MAIN_VERSION) <= 0 || version_compare(SM_VERSION, $this->NEED_MAIN_VERSION) >= 0) { if ($this->InstallDB()) { $this->ShowForm('OK', GetMessage('MOD_INST_OK'), 'install'); } else { $strError = ''; if ($ex = $APPLICATION->GetException()) { $strError = $ex->GetString(); } else { $strError = GetMessage('DADATA_SUGGESTIONS_UNKNOWN_ERR_INSTALL'); } $this->ShowForm('ERROR', GetMessage('DADATA_SUGGESTIONS_NOT_INSTALL', array('#ERR#' => $strError))); } } else { $this->ShowForm('ERROR', GetMessage('DADATA_SUGGESTIONS_NEED_RIGHT_VER', array('#NEED#' => $this->NEED_MAIN_VERSION))); } }
function InstallFiles() { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/translate/install/admin", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/translate/install/images", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/images/translate", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/translate/install/themes", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes", true, true); return true; }
function DoInstall() { CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/' . self::MODULE_ID . '/install/public_html/', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/', true, true); RegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', self::MODULE_ID, 'UserDataColor', 'GetIBlockPropertyDescription'); // RegisterModuleDependences('main', 'OnUserTypeBuildList', self::MODULE_ID, 'UserDataColor', 'GetUserTypeDescription'); RegisterModule(self::MODULE_ID); }
function InstallFiles($arParams = array()) { if (is_dir($p = $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/'.self::MODULE_ID.'/admin')) { if ($dir = opendir($p)) { while (false !== $item = readdir($dir)) { if ($item == '..' || $item == '.' || $item == 'menu.php') continue; file_put_contents($file = $_SERVER['DOCUMENT_ROOT'].'/bitrix/admin/'.self::MODULE_ID.'_'.$item, '<'.'? require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/'.self::MODULE_ID.'/admin/'.$item.'");?'.'>'); } closedir($dir); } } CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$this->MODULE_ID."/install/images/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/images/".$this->MODULE_ID."/", true, true ); CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$this->MODULE_ID."/install/js/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/js/".$this->MODULE_ID."/", true, true ); CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$this->MODULE_ID."/install/themes/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/themes/", true, true ); return true; }
public function installFiles() { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/sale_payment/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/php_interface/include/sale_payment", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/components/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components/", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin", true, true); return true; }
function InstallFiles() { global $APPLICATION; CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$this->MODULE_ID."/install/admin", $_SERVER["DOCUMENT_ROOT"]."/bitrix/admin" ); CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$this->MODULE_ID."/install/images", $_SERVER["DOCUMENT_ROOT"]."/bitrix/images/".$this->MODULE_ID, true, true ); CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$this->MODULE_ID."/install/themes", $_SERVER["DOCUMENT_ROOT"]."/bitrix/themes", true, true ); CopyDirFiles( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".$this->MODULE_ID."/install/js", $_SERVER["DOCUMENT_ROOT"]."/bitrix/js/".$this->MODULE_ID, true, true ); $APPLICATION->SetFileAccessPermission("/bitrix/admin/lol_pdd_msg.php", array("*" => "R")); return true; }
function InstallFiles() { if(CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/citfact.edutemplate/install/wizards", $_SERVER["DOCUMENT_ROOT"]."/bitrix/wizards", true, true)) return true; if(CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/citfact.edutemplate/wizards", $_SERVER["DOCUMENT_ROOT"]."/bitrix/wizards", true, true)) return true; }
function InstallFiles($arParams = array()) { if (is_dir($p = $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/'.self::MODULE_ID.'/admin')) { if ($dir = opendir($p)) { while (false !== $item = readdir($dir)) { if ($item == '..' || $item == '.' || $item == 'menu.php') continue; file_put_contents($file = $_SERVER['DOCUMENT_ROOT'].'/bitrix/admin/'.self::MODULE_ID.'_'.$item, '<'.'? require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/'.self::MODULE_ID.'/admin/'.$item.'");?'.'>'); } closedir($dir); } } if (is_dir($p = $_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/'.self::MODULE_ID.'/install/components')) { if ($dir = opendir($p)) { while (false !== $item = readdir($dir)) { if ($item == '..' || $item == '.') continue; CopyDirFiles($p.'/'.$item, $_SERVER['DOCUMENT_ROOT'].'/bitrix/components/'.$item, $ReWrite = True, $Recursive = True); } closedir($dir); } } CopyDirFiles($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/'.self::MODULE_ID.'/install/js', $_SERVER['DOCUMENT_ROOT'].'/bitrix/js/liveapi', $ReWrite = True, $Recursive = True); return true; }
function InstallFiles() { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/js/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/js/", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin/", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/" . $this->MODULE_ID . "/install/components/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components/", true, true); return true; }
function InstallFiles() { if ($_ENV['COMPUTERNAME'] != 'BX') { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/im/install/js", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/js", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/im/install/components", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components", true, true); CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/im/install/activities', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/activities', true, true); CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/im/install/admin', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin', true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/im/install/templates", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/templates", True, True); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/im/install/public", $_SERVER["DOCUMENT_ROOT"] . "/", True, True); $default_site_id = CSite::GetDefSite(); if ($default_site_id) { $arAppTempalate = array("SORT" => 1, "CONDITION" => "CSite::InDir('/desktop_app/')", "TEMPLATE" => "desktop_app"); $arFields = array("TEMPLATE" => array()); $dbTemplates = CSite::GetTemplateList($default_site_id); $desktopAppFound = false; while ($template = $dbTemplates->Fetch()) { if ($template["TEMPLATE"] == "desktop_app") { $desktopAppFound = true; $template = $arAppTempalate; } $arFields["TEMPLATE"][] = array("TEMPLATE" => $template['TEMPLATE'], "SORT" => $template['SORT'], "CONDITION" => $template['CONDITION']); } if (!$desktopAppFound) { $arFields["TEMPLATE"][] = $arAppTempalate; } $obSite = new CSite(); $arFields["LID"] = $default_site_id; $obSite->Update($default_site_id, $arFields); } $GLOBALS["APPLICATION"]->SetFileAccessPermission('/desktop_app/', array("*" => "R")); } return true; }
function InstallFiles($arParams = array()) { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/perfmon/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin"); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/perfmon/install/themes/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/perfmon/install/images/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/images", true, true); return true; }
function InstallFiles($arParams = array()) { CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".self::MODULE_ID."/install/admin/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/admin", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".self::MODULE_ID."/install/themes/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/themes", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/".self::MODULE_ID."/install/js/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/js", true, true); return true; }
function InstallFiles() { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/bitrix.eshop/install/components", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components", true, true); //CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/bitrix.eshop/install/wizards/bitrix/store.catalog", $_SERVER["DOCUMENT_ROOT"]."/bitrix/wizards/bitrix/store.catalog", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop.mobile", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/wizards/bitrix/eshop.mobile", true, true); return true; }
function InstallFiles() { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/seo/install/admin", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin", true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/seo/install/tools", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/tools", true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/seo/install/images/seo", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/images/seo", true); return true; }
function InstallFiles() { if ($_ENV["COMPUTERNAME"] != 'BX') { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/photogallery/install/components", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components", true, true); } return true; }
public function InstallFiles() { $rootDir = Application::getDocumentRoot() . '/' . ltrim(Application::getPersonalRoot(), '/'); CopyDirFiles(__DIR__ . '/images', $rootDir . '/images', true, true); CopyDirFiles(__DIR__ . '/js', $rootDir . '/js', true, true); CopyDirFiles(__DIR__ . '/tools', $rootDir . '/tools', true, true); }
function InstallFiles($arParams = array()) { if ($_ENV["COMPUTERNAME"] != 'BX') { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/primepixkladr/install/components", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components", true, true); } return true; }
public function DoInstall() { if (is_array($this->NEED_MODULES) && !empty($this->NEED_MODULES)) { foreach ($this->NEED_MODULES as $module) { if (!IsModuleInstalled($module)) { $this->ShowForm('ERROR', GetMessage('ASD_NEED_MODULES', array('#MODULE#' => $module))); } } } if (strlen($this->NEED_MAIN_VERSION) <= 0 || version_compare(SM_VERSION, $this->NEED_MAIN_VERSION) >= 0) { RegisterModuleDependences('main', 'OnAdminListDisplay', 'asd.iblock', 'CASDiblockInterface', 'OnAdminListDisplayHandler'); RegisterModuleDependences('main', 'OnBeforeProlog', 'asd.iblock', 'CASDiblockAction', 'OnBeforePrologHandler'); RegisterModuleDependences('main', 'OnAdminContextMenuShow', 'asd.iblock', 'CASDiblockInterface', 'OnAdminContextMenuShowHandler'); RegisterModuleDependences('main', 'OnAdminTabControlBegin', 'asd.iblock', 'CASDiblockInterface', 'OnAdminTabControlBeginHandler'); RegisterModuleDependences('iblock', 'OnAfterIBlockUpdate', 'asd.iblock', 'CASDiblockAction', 'OnAfterIBlockUpdateHandler'); RegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'asd.iblock', 'CASDiblockPropCheckbox', 'GetUserTypeDescription'); RegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'asd.iblock', 'CASDiblockPropCheckboxNum', 'GetUserTypeDescription'); RegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'asd.iblock', 'CASDiblockPropPalette', 'GetUserTypeDescription'); RegisterModuleDependences('iblock', 'OnIBlockPropertyBuildList', 'asd.iblock', 'CASDiblockPropSection', 'GetUserTypeDescription'); CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/asd.iblock/install/js/', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/js/', true, true); CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/asd.iblock/install/panel/', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/panel/', true, true); CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/asd.iblock/install/tools/', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/tools/', true, true); RegisterModule('asd.iblock'); $this->ShowForm('OK', GetMessage('MOD_INST_OK')); } else { $this->ShowForm('ERROR', GetMessage('ASD_NEED_RIGHT_VER', array('#NEED#' => $this->NEED_MAIN_VERSION))); } }
public function InstallFiles($arParams = array()) { $result = true; $result = $result && CopyDirFiles(__DIR__ . '/components/rees46', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/components/rees46', true, true); $result = $result && CopyDirFiles(__DIR__ . '/include', $_SERVER['DOCUMENT_ROOT'] . '/include', true, true); return $result; }
function InstallFiles() { CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/wiki/install/admin', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/admin', true, true); CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/wiki/install/images', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/images/wiki', true, true); CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/wiki/install/themes', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/themes', true, true); CopyDirFiles($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/wiki/install/components', $_SERVER['DOCUMENT_ROOT'] . '/bitrix/components', true, true); return true; }
function InstallFiles() { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/storeassist/install/admin", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/storeassist/install/js", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/js", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/storeassist/install/panel", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/panel", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/storeassist/install/tools", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/tools", true, true); return true; }
function InstallFiles() { if ($_ENV['COMPUTERNAME'] != 'BX') { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/pull/install/js", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/js", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/pull/install/components", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components", true, true); } return true; }
function InstallFiles($arParams = array()) { CopyDirFiles($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/user_vars/install/admin/', $_SERVER['DOCUMENT_ROOT'].'/bitrix/admin'); CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/user_vars/install/images", $_SERVER["DOCUMENT_ROOT"]."/bitrix/images/user_vars", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/user_vars/install/themes/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/themes", true, true); return true; }
function InstallFiles() { if ($_ENV["COMPUTERNAME"] != 'BX') { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/xmpp/install/admin", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/xmpp/install/themes", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes", true, true); } return true; }
function InstallFiles($arParams = array()) { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/anmaslov.stall/install/admin/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/admin"); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/anmaslov.stall/install/themes/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/anmaslov.stall/install/components/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/components", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/anmaslov.stall/install/js/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/js/anmaslov/stall", true, true); return true; }
function InstallFiles() { CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/rficb.payment/install/payment/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/php_interface/include/sale_payment/rficb.payment/"); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/rficb.payment/install/tools/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/tools/rficb.payment/"); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/rficb.payment/install/themes/.default/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default/"); CopyDirFiles($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/rficb.payment/install/themes/.default/icons/rficb/", $_SERVER["DOCUMENT_ROOT"] . "/bitrix/themes/.default/icons/rficb/"); return true; }
function InstallFiles(){ CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/tagsmanager/install/admin/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/admin"); CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/tagsmanager/install/js", $_SERVER["DOCUMENT_ROOT"]."/bitrix/js/tagsmanager/", true, true); CopyDirFiles($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/tagsmanager/install/images/", $_SERVER["DOCUMENT_ROOT"]."/bitrix/images/tagsmanager", true, true); return true; }