Skip to content

Commit

Permalink
поправил сервера обновления
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriitux committed Jan 10, 2023
1 parent 4925ba2 commit 9f40be5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
8 changes: 1 addition & 7 deletions installer/sovmart.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU General Public License version 3; see LICENSE.txt</license>
<authorEmail>cymbal@delo-design.ru</authorEmail>
<authorUrl>https://delo-design.ru</authorUrl>
<version>1.5.8</version>
<version>1.5.9</version>
<description>PLG_INSTALLER_SOVMART_PLUGIN_XML_DESCRIPTION</description>
<scriptfile>script.php</scriptfile>

Expand All @@ -24,12 +24,6 @@
<folder>js</folder>
</media>

<updateservers>
<server type="extension" priority="1" name="SovmartInstaller">
https://sovmart.ru/update?element=sovmart_installer
</server>
</updateservers>

<install>
<sql>
<file driver="mysql" charset="utf8">sql/install/mysql/mysql.sql</file>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function sync()
$extensions_for_api[] = implode('.', [$item->type, $item->folder, $item->element]);
}

// отсылаем на сервер radicalmart.ru и получаем ответ об установленных расширениях
// отсылаем на сервер sovmart.ru и получаем ответ об установленных расширениях
$sync_projects = json_decode(API::syncExtensions($this->name, json_encode($extensions_for_api)), true);

if (
Expand Down
7 changes: 6 additions & 1 deletion pkg_sovmart.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<license>GNU General Public License version 3; see LICENSE.txt</license>
<authorEmail>cymbal@delo-design.ru</authorEmail>
<authorUrl>https://delo-deisgn.ru</authorUrl>
<version>1.5.8</version>
<version>1.5.9</version>
<scriptfile>script.php</scriptfile>
<description>PKG_SOVMART_XML_DESCRIPTION</description>
<languages folder="language">
Expand All @@ -22,4 +22,9 @@
<file type="plugin" group="quickicon" id="sovmarticon">quickicon</file>
<file type="plugin" group="system" id="sovmartmenu">menu</file>
</files>
<updateservers>
<server type="extension" priority="1" name="SovmartInstaller">
https://sovmart.ru/update?element=sovmart_installer
</server>
</updateservers>
</extension>

0 comments on commit 9f40be5

Please sign in to comment.