with more time we do anything:

                $configuration = 
ProjectConfiguration::getApplicationConfiguration
('frontend', 'cli', true);
                $context = sfContext::createInstance($configuration);
                $routing = $context->getRouting();
                $host =
sfConfig::get('app_routing_webhost','yourhostwithouthttp.com');
                $options = $routing->getOptions();
                $options['context']['host'] = $host; //set your host url
                unset($options['context']['prefix']); //remove the prefix (it 
will
try to place your path here)
                $routing->initialize($this->dispatcher, $routing->getCache(),
$options);
                $context->set('routing', $routing);
                $link =  $context->getRouting()->generate('RouteName', array(),
true);

On 23 mar, 15:33, Sid Ferreira <[email protected]> wrote:
> Based on Steve the Canuck, I could do like is said in
>
> http://groups.google.com.br/group/symfony-users/msg/419fcd1ec6fd9ec4
>
> But, how to do steps 1 and 2?

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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to