diff --git a/initphp/initphp.php b/initphp/initphp.php index 4f0015a..9d22788 100644 --- a/initphp/initphp.php +++ b/initphp/initphp.php @@ -767,6 +767,7 @@ class Dao extends coreInit { * 初始化 */ public function __construct() { + parent::__construct(); $this->dao = $this->load('dao', 'd'); //导入D $this->dao->run_db(); //初始化db $this->dao->run_cache(); //初始化cahce @@ -782,4 +783,4 @@ public function init_db($db = 'default') { $this->dao->db->init_db($db); return $this->dao->db; } -} \ No newline at end of file +}