* Finish task#36038.

This commit is contained in:
leiyong
2021-02-23 14:36:54 +08:00
parent 151760b145
commit 20075135ab
19 changed files with 147 additions and 29 deletions
+14
View File
@@ -13,6 +13,20 @@ class testsuite extends control
{
public $products = array();
public function __construct($moduleName = '', $methodName = '')
{
parent::__construct($moduleName, $methodName);
/* Set testtask menu group. */
$this->projectID = isset($_GET['PRJ']) ? $_GET['PRJ'] : 0;
if(!$this->projectID)
{
$this->app->loadConfig('qa');
foreach($this->config->qa->menuList as $module) $this->lang->navGroup->$module = 'qa';
$this->lang->noMenuModule[] = $this->app->rawModule;
}
}
/**
* Index page, header to browse.
*