* change for upgrade.

This commit is contained in:
wangyidong
2017-05-16 14:27:53 +08:00
parent f0e76ff576
commit 12c288a4e7
46 changed files with 668 additions and 128 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class project extends control
if($this->app->user->account == 'guest' or commonModel::isTutorialMode()) $this->config->project->homepage = 'index';
if(!isset($this->config->project->homepage))
{
if($this->projects) die($this->fetch('custom', 'ajaxSetHomepage', "module=project"));
if($this->projects and $this->app->viewType != 'mhtml') die($this->fetch('custom', 'ajaxSetHomepage', "module=project"));
$this->config->project->homepage = 'index';
$this->fetch('custom', 'ajaxSetHomepage', "module=project&page=index");