Can you just define your own language translation or extend the class.
I am not sure how versatile 1.2 is compare to 1.4, but that's how I
would do it in 1.4.

On Jul 14, 5:50 pm, Sid Bachtiar <[email protected]> wrote:
> Hi,
>
> How do I contribute to symfony 1.2?
>
> At the moment I just have something small to add
>
> I want to change:
>
> $this->addMessage('csrf_attack', 'CSRF attack detected.');
>
> to:
>
> $this->addMessage('csrf_attack',
> sfConfig::get('app_message_csrf_attack', 'CSRF attack detected.'));
>
> In sfValidatorCSRFToken.class.php so that I can customize the csrf
> attack message without changing the core.
>
> Regards,
>
> Sid
> --
> Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz

-- 
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 developers" 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-devs?hl=en

Reply via email to