On 23 Nov., 13:43, Stéphane <[email protected]> wrote:
> Of course, instead of using static variables, you can create getters to
> retrieve values from configurations, so it will be easier to change the
> number of allowed uploadable photos by simply changing a value in a
> config/app.yml.
> Something like
> public function getMaxUploadablePhotos(){
> return sfConfig::get('app_max_uploadable_photos');
>
> }
Yes, sure, that's the next step.
Thks

-- 
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

Reply via email to