Skip to content
This repository was archived by the owner on Jan 10, 2019. It is now read-only.

Commit 3bd4168

Browse files
author
Che Kun
committed
Merge pull request #37 from DiliCMS/develop
v2.2.0
2 parents 47b7d54 + c0edf87 commit 3bd4168

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shared/config/constant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
define('IN_DILICMS', TRUE);
1313

14-
define('DILICMS_VERSION', 'V2.2.0-rc.1');
14+
define('DILICMS_VERSION', 'V2.2.0-rc.2');
1515

1616
define('DILICMS_SHARE_PATH', BASEPATH . '../shared/');
1717

shared/models/plugin_mdl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function export_plugin($ids)
167167
</plugin>
168168
</root>';
169169
//当前仅支持在普通环境下导出插件安装XML文件
170-
if ($this->platform->get_type() == 'default')
170+
if ($this->platform->get_type() == 'default' && file_exists(DILICMS_EXTENSION_PATH . 'plugins/' . $plugin->name))
171171
{
172172
file_put_contents(DILICMS_EXTENSION_PATH . 'plugins/' . $plugin->name .'/plugin_' . $plugin->name . '_install.xml', $xml);
173173
}

0 commit comments

Comments
 (0)