diff --git a/library/think/Session.php b/library/think/Session.php index e700f0e4ce..f21c93b1e6 100644 --- a/library/think/Session.php +++ b/library/think/Session.php @@ -103,6 +103,16 @@ public function setConfig(array $config = []) } } + /** + * 设置已经初始化 + * @access public + * @return void + */ + public function inited() + { + $this->init = true; + } + /** * session初始化 * @access public