From dfed1526d6c096f05ae32ead3d4673b2810b800b Mon Sep 17 00:00:00 2001 From: guanxiying Date: Tue, 26 Nov 2019 14:14:18 +0800 Subject: [PATCH] * Finish task 6569. --- framework/control.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/control.class.php b/framework/control.class.php index 60175dcd13..663d40e31a 100644 --- a/framework/control.class.php +++ b/framework/control.class.php @@ -61,10 +61,10 @@ class control extends baseControl if($this->app->getModuleName() == 'user' and strpos("login,logout", $this->app->getMethodName()) !== false) return true; if($this->app->getModuleName() == 'my' and $this->app->getMethodName() == 'changepassword') return true; - if($this->app->getModuleName() == 'custom' and $this->app->getMethodName() == 'setConcept') return true; - if(!isset($this->config->conceptSetted) and $this->app->getMethodName() != 'concept') + if($this->app->getModuleName() == 'custom' and $this->app->getMethodName() == 'flow') return true; + if(!isset($this->config->conceptSetted)) { - $this->locate(helper::createLink('custom', 'concept')); + $this->locate(helper::createLink('custom', 'flow')); } }