mini3 icon indicating copy to clipboard operation
mini3 copied to clipboard

Correcting errors in execution with postgresql

Open ribafs opened this issue 6 years ago • 1 comments

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. :)

ribafs avatar Aug 24 '19 12:08 ribafs

To works with PostgreSQL.

ribafs avatar Aug 24 '19 12:08 ribafs