Explorar o código

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

star7th %!s(int64=9) %!d(string=hai) anos
pai
achega
9f0f14ea03
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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");