Hello, we're using database and custom config handler which parses database settings into *.yml.php file which then used by standard symfony routines. The *.yml.php file unlinkes when administrator changes some settings in backend.
Alex ansata web group On 23 мар, 17:04, Adi VELICU <[email protected]> wrote: > Hello, > > I am new to Symfony, but I did my best to document myself before > asking this question. > I have a couple of settings in my application which I've placed in > app.yml for now. They are related to aspects of the application that > should be modifiable by the administrator through a web interface. Is > this the best way to do it? > > For now I've created an action and a form that displays the content of > the app.yml file and writes it after the admin has modified it. I am > not sure this is the best solution; if the administrator were to make > a mistake in editing the YML file, he might lock himself out of the > administrative interface. > > Any tips on where to define a couple of application-specific > parameters (such as max_images_per_page, max_images_per_gallery etc) > that can be easily modified by the administrator? > > Thanks, > Adi -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe from this group, send email to symfony-users+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
