On 21 Feb 2009, at 14:59, Veikko Mäkinen wrote:

> Michal Charemza wrote:
>> Hi,
>>
>> How can I generate the current URL in a template? I imagine I could  
>> do
>> it with $_SERVER['HTTP_HOST'] and $_SERVER['REQUEST_URI'], but I
>> imagine I shouldn't access these variables directly when using Agavi.
>
> $ro->gen(null);

Very simple! Thanks!!

Michal.
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to