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

Commit

Permalink
Merge pull request #37 from DiliCMS/develop
Browse files Browse the repository at this point in the history
v2.2.0
  • Loading branch information
Che Kun committed Mar 14, 2014
2 parents 47b7d54 + c0edf87 commit 3bd4168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/config/constant.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

define('IN_DILICMS', TRUE);

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

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

Expand Down
2 changes: 1 addition & 1 deletion shared/models/plugin_mdl.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function export_plugin($ids)
</plugin>
</root>';
//当前仅支持在普通环境下导出插件安装XML文件
if ($this->platform->get_type() == 'default')
if ($this->platform->get_type() == 'default' && file_exists(DILICMS_EXTENSION_PATH . 'plugins/' . $plugin->name))
{
file_put_contents(DILICMS_EXTENSION_PATH . 'plugins/' . $plugin->name .'/plugin_' . $plugin->name . '_install.xml', $xml);
}
Expand Down

0 comments on commit 3bd4168

Please sign in to comment.