mini3
mini3 copied to clipboard
Correcting errors in execution with postgresql
To use Postgresql I change config.php add: define('DB_PORT', '5432');// 3306 or 5432
And change application/Core/Model.php on end: $dsn = DB_TYPE . ':host=' . DB_HOST . ';port ='. DB_PORT . ';dbname=' . DB_NAME;// . $databaseEncodingenc; $this->db = new PDO($dsn , DB_USER, DB_PASS, $options);
so it worked cool
P.S.: Very tanks for your good works. I finally managed to create a PHP application with MVC using MINI3. :)
To works with PostgreSQL.