Skip to content

Commit

Permalink
改进Session类
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Jul 2, 2018
1 parent 8c4a90c commit 0af55a5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions library/think/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ public function setConfig(array $config = [])
}
}

/**
* 设置已经初始化
* @access public
* @return void
*/
public function inited()
{
$this->init = true;
}

/**
* session初始化
* @access public
Expand Down

0 comments on commit 0af55a5

Please # to comment.