vesparny/silex-simple-rest

Move the database from the root folder to the storage folder

aalaap opened this issue · 0 comments

Everything about this code seems perfect, except that the app.db is located in the root folder of the project. I was wondering if it's more appropriate and cleaner to put it in the storage folder instead, i.e. /storage/app.db. It's only one path change in app.php, where DoctrineServiceProvider() is registered.