Hi,

Before I am Kohana user, I always define something like:
<?php
   return Array( 'site_name'=>'domix.in',
                      'site_blog' = 'blog.domix.in'
                     )

Then I can use the property in template as <?php echo
$kohana->config('web')->site_name ?>

I wanna to know is there something I can do this in symfony 2.0?


Thanks!

http://domix.in
Protect and Track your life and work

Location:Room 807,QiLuRuanJianDaSha Qilu Software Park
        No. 1 Shunhua Rd High-Tech Development Zone
        Jinan, China 250101
Mobile: +86 15854103759

Haulyn Jason

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