浏览代码

Merge branch 'master' of https://github.com/star7th/showdoc

star7th 9 年之前
父节点
当前提交
9f0f14ea03
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Application/Home/Controller/UpdateController.class.php

+ 1 - 0
Application/Home/Controller/UpdateController.class.php

@@ -119,6 +119,7 @@ class UpdateController extends BaseController {
     //转移mysql的数据到sqlite
     public function toSqlite(){
         clear_runtime();
+        $this->mysql();
         if (strtolower(C("DB_TYPE")) == 'mysql' ) {
             $this->mysql();
             $this->_moveTable("catalog");