Directy CMF uses PDO, so if you want to use another database, than MySQL you have to perform following steps:
1. Open protected/data/schema.mysql.sql and corrent the syntax to the database driver you want to use, for ex.: PostgreSql.
2. Rename the file into schema.postgresql.sql
3. Open protected/modules/setup/controllers/SetupController.php and replace each occurrence of word "mysql" with required driver, for ex.: "postgresql".
Now you may run setup.
Discuss everything related to ApPHP Durecty CMF. All versions. Any questions related to the Directy CMF developing or using should be posted to this forum.
1 post • Page 1 of 1