Setting Cachingduration For Cphpmessagesource

Hi,

how do i set cachingDuration for CPhpMessageSource?

anyone?

I think you need this in your config file:




    'components'=>array(

        ...

        'coreMessages'=>array(

            'cachingDuration'=>1000,

        )

        'messages'=>array(

            'cachingDuration'=>1000,

        )

        ...

    ),



Use coreMessages if you want to set the duration for core framework messages.

Edit:

Edited to include coreMessages component.