Skip to content

Commit

Permalink
upd to 1.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfriend committed Apr 11, 2022
1 parent 6f7441f commit fc92bbb
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 10 deletions.
44 changes: 44 additions & 0 deletions migrations/1.1.7.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php
/**
* @author dev2fun (darkfriend)
* @copyright darkfriend <[email protected]>
* @version 1.1.3
*/

require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/prolog_before.php";

\Bitrix\Main\Loader::includeModule('main');
\Bitrix\Main\Loader::includeModule('dev2fun.multidomain');
\Bitrix\Main\Loader::registerAutoLoadClasses(
"dev2fun.multidomain",
array(
'Dev2fun\MultiDomain\Base' => 'include.php',
'Dev2fun\MultiDomain\SubDomain' => 'classes/general/SubDomain.php',
'Dev2fun\MultiDomain\Seo' => 'classes/general/Seo.php',
'Dev2fun\MultiDomain\Geo' => 'classes/general/Geo.php',
'Dev2fun\MultiDomain\HLHelpers' => 'lib/HLHelpers.php',
'Dev2fun\MultiDomain\Config' => 'classes/general/Config.php',
'Dev2fun\MultiDomain\TemplateSeo' => 'classes/general/TemplateSeo.php',
'Dev2fun\MultiDomain\TabOptions' => 'classes/general/TabOptions.php',
'Dev2fun\MultiDomain\LangData' => 'classes/general/LangData.php',
)
);

$moduleId = \Dev2fun\MultiDomain\Base::$module_id;

// path to module dev2fun.multidomain
$pathToModule = $_SERVER["DOCUMENT_ROOT"].'/bitrix/modules/dev2fun.multidomain';

$isSaved = CopyDirFiles(
$pathToModule . '/install/components/dev2fun/multidomain.city.list',
$_SERVER["DOCUMENT_ROOT"] . '/bitrix/components/dev2fun/multidomain.city.list',
true,
true
);
if (!$isSaved) {
throw new Exception('ERRORS_SAVE_FILE '.$_SERVER['DOCUMENT_ROOT'] . 'components/dev2fun/multidomain.city.list');
}

\Dev2fun\MultiDomain\Base::ShowThanksNotice();

die("1.1.7 - Success");
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* @author dev2fun (darkfriend)
* @copyright darkfriend
* @version 1.1.0
* @version 1.1.7
*/
global $INTRANET_TOOLBAR;

Expand Down Expand Up @@ -77,6 +77,5 @@
"ITEMS",
"CURRENT",
]);
$this->includeComponentTemplate();
}

//$this->includeComponentTemplate();
4 changes: 2 additions & 2 deletions utf8/dev2fun.multidomain/install/version.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$arModuleVersion = [
"VERSION" => "1.1.6",
"VERSION_DATE" => "2022-04-11 11:40:00",
"VERSION" => "1.1.7",
"VERSION_DATE" => "2022-04-11 12:05",
];
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* @author dev2fun (darkfriend)
* @copyright darkfriend
* @version 1.1.0
* @version 1.1.7
*/
global $INTRANET_TOOLBAR;

Expand Down Expand Up @@ -77,6 +77,5 @@
"ITEMS",
"CURRENT",
]);
$this->includeComponentTemplate();
}

//$this->includeComponentTemplate();
4 changes: 2 additions & 2 deletions win1251/dev2fun.multidomain/install/version.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$arModuleVersion = [
"VERSION" => "1.1.6",
"VERSION_DATE" => "2022-04-11 11:40:00",
"VERSION" => "1.1.7",
"VERSION_DATE" => "2022-04-11 12:05",
];

0 comments on commit fc92bbb

Please sign in to comment.