Max F %!s(int64=5) %!d(string=hai) anos
pai
achega
246f1794de
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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");
 		}
 
 	}