* Fix bug.

This commit is contained in:
leiyong
2021-03-10 15:59:13 +08:00
parent 6d2495ce77
commit f07384115c
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ class productplan extends control
$this->lang->product->mainMenuAction = $this->product->getProductMainAction();
$this->loadModel('product');
$this->app->loadConfig('project');
$this->app->loadConfig('execution');
$product = $this->product->getById($productID);
if(empty($product)) $this->locate($this->createLink('product', 'create'));
$this->view->product = $product;

View File

@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<?php js::set('weekend', $config->project->weekend);?>
<?php js::set('weekend', $config->execution->weekend);?>
<?php js::import($jsRoot . 'misc/date.js');?>
<div id='mainContent'class='main-content'>
<div class='center-block'>

View File

@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<?php js::set('weekend', $config->project->weekend);?>
<?php js::set('weekend', $config->execution->weekend);?>
<?php js::import($jsRoot . 'misc/date.js');?>
<div id='mainContent' class='main-content'>
<div class='center-block'>