Max F 5 年 前
コミット
246f1794de
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/App.php

+ 2 - 1
src/App.php

@@ -95,7 +95,8 @@ class App
 
 
 		if (defined('DB_DSN')) {
-			self::$db = static::getDb();
+			self::$db = static::getDb('default', DB_DSN);
+			//self::$db->execute("set names utf8");
 		}
 
 	}