* fix bug for task #1090.
This commit is contained in:
@@ -8,3 +8,7 @@ $config->url->faq = 'http://www.zentao.net/ask-faq.html';
|
||||
$config->url->extension = 'http://www.zentao.net/extension-browse.html';
|
||||
$config->url->donation = 'http://www.zentao.net/help-donation.html';
|
||||
$config->url->service = 'http://www.cnezsoft.com/article-browse-1078.html';
|
||||
|
||||
$config->admin->flow2Ext['onlyTest'] = 'zentaotest';
|
||||
$config->admin->flow2Ext['onlyTask'] = 'zentaotask';
|
||||
$config->admin->flow2Ext['onlyStory'] = 'zentaostory';
|
||||
|
||||
@@ -199,7 +199,7 @@ class admin extends control
|
||||
if($_POST)
|
||||
{
|
||||
$this->loadModel('setting')->setItem('system.common.global.flow', $this->post->flow, 0);
|
||||
if($this->post->flow != 'full') die(js::locate($this->createLink('extension', 'install', "extension={$this->config->index->flow2Ext[$this->post->flow]}"), 'parent'));
|
||||
if($this->post->flow != 'full') die(js::locate($this->createLink('extension', 'install', "extension={$this->config->admin->flow2Ext[$this->post->flow]}"), 'parent'));
|
||||
die(js::reload( 'parent.parent'));
|
||||
}
|
||||
$this->display();
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<table class='table-1'>
|
||||
<caption>
|
||||
<?php
|
||||
echo $header->title;
|
||||
echo $title;
|
||||
if(isset($license) and $upgrade == 'yes') printf($lang->extension->upgradeVersion, $this->post->installedVersion, $this->post->upgradeVersion);
|
||||
?>
|
||||
</caption>
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
$config->index->flow2Ext['onlyTest'] = 'zentaotest';
|
||||
$config->index->flow2Ext['onlyTask'] = 'zentaotask';
|
||||
$config->index->flow2Ext['onlyStory'] = 'zentaostory';
|
||||
Reference in New Issue
Block a user