[color="#1C2837"][size=“2”]I’ve read the post on this page: http://www.yiiframew…8n/#add-comment
I am wondering where should I place ApplicationConfigBehavior file? And how do I bind to use?[/size][/color]
[color="#1C2837"][size=“2”]I’ve read the post on this page: http://www.yiiframew…8n/#add-comment
I am wondering where should I place ApplicationConfigBehavior file? And how do I bind to use?[/size][/color]
You can put this class in an autoloaded directory (better componets) and then bind in config main like that:
'behaviors'=>array(
'runTimeConfig'=>array(
'class'=>'ApplicationConfigBehavior'
)
),