* adjust for user-create by tutorial-wizard.

This commit is contained in:
wangyidong
2016-04-26 15:52:08 +08:00
parent a20671196a
commit b69889c388
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -63,6 +63,7 @@ class tutorial extends control
public function wizard($module, $method, $params = '')
{
define('WIZARD', true);
$params = helper::safe64Decode($params);
if($_POST)
{
die();
+2 -2
View File
@@ -19,9 +19,9 @@ class user extends control
* @access public
* @return void
*/
public function __construct()
public function __construct($module = '', $method = '')
{
parent::__construct();
parent::__construct($module, $method);
$this->loadModel('company')->setMenu();
$this->loadModel('dept');
$this->loadModel('todo');