CakePHP with Sqlite3: How to connect to multiple sqlite file?
I working on a project where user register and get a free online shop using CakePHP v2.6.5. I'm using shared hosting so i can't create Mysql database for them, So I use sqlite instead. Because I need to use it with Mobile App too. In my code I dynamically create sqlite file for user after their register. But I don't know how to change database path in CakePHP. All I know is CakePHP use config in `config/database.php` file, but i can't init it dynamically.
I trying to follow these link: http://stackoverflow.com/questions/5512327/cakephp-switch-database-using-same-datasource-on-the-fly and this link http://stackoverflow.com/questions/13956791/cakephp-cant-change-database-on-the-fly, but I got nothing.